// Lean compiler output
// Module: Lean.Widget.InteractiveDiagnostic
// Imports: Lean.Linter.UnusedVariables Lean.Server.Utils Lean.Widget.InteractiveGoal
#include <lean/lean.h>
#if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter"
#pragma clang diagnostic ignored "-Wunused-label"
#elif defined(__GNUC__) && !defined(__CLANG__)
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wunused-label"
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
#endif
#ifdef __cplusplus
extern "C" {
#endif
lean_object* l_Lean_JsonNumber_fromNat(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___boxed(lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__11;
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__57;
lean_object* l_List_join___rarg(lean_object*);
lean_object* lean_format_pretty(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_563_(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_msgToInteractive_fmtToTT___spec__4(lean_object*, size_t, size_t, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_2515____boxed(lean_object*);
LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__6___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_msgToInteractiveDiagnostic___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticRelatedInformation____x40_Lean_Data_Lsp_Diagnostics___hyg_913_(lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__4;
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92_(lean_object*);
static lean_object* l_Lean_Widget_Lean_Widget_MsgEmbed_instToJsonRpcEncodablePacket___closed__1;
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
static lean_object* l_Lean_Widget_Lean_Widget_StrictOrLazy_instToJsonRpcEncodablePacket___closed__1;
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_StrictOrLazy_instFromJsonRpcEncodablePacket;
static lean_object* l_Lean_Widget_msgToInteractiveDiagnostic___closed__7;
static lean_object* l_Lean_Widget_instImpl____x40_Lean_Widget_InteractiveDiagnostic___hyg_541____closed__2;
static lean_object* l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__4;
static lean_object* l_Lean_Widget_instInhabitedMsgEmbed___closed__3;
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_mkContextInfo___closed__1;
lean_object* l_Lean_Json_mkObj(lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__38;
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_chopUpChildren___closed__2;
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_DiagnosticWith_ordUserVisible____x40_Lean_Data_Lsp_Diagnostics___hyg_2072____at_Lean_Widget_InteractiveDiagnostic_compareAsDiagnostics___spec__2___boxed(lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__74;
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__18;
LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__3(lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__35;
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__6;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Widget_InteractiveDiagnostic_toDiagnostic_prettyTt___closed__1;
static lean_object* l_Lean_Widget_msgToInteractiveDiagnostic___closed__9;
lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonRange____x40_Lean_Data_Lsp_Basic___hyg_786_(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_206_(lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__8;
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838_(lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__13;
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__30;
uint8_t l_Ord_arrayOrd___elambda__1___rarg(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__54;
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Lsp_DiagnosticWith_instToJsonRpcEncodablePacket;
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__16;
LEAN_EXPORT lean_object* l_Lean_Widget_InteractiveDiagnostic_toDiagnostic(lean_object*);
lean_object* l_Lean_Name_toString(lean_object*, uint8_t);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__9;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy(lean_object*, lean_object*);
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2___closed__1;
lean_object* lean_array_push(lean_object*, lean_object*);
lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Widget_msgToInteractiveDiagnostic___closed__1;
LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__5(lean_object*, lean_object*);
lean_object* l_Lean_Widget_TaggedText_prettyTagged(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__22;
lean_object* l_Lean_Widget_Lean_Widget_WidgetInstance_instRpcEncodableWidgetInstance_dec____x40_Lean_Widget_Types___hyg_3_(lean_object*, lean_object*);
uint8_t l_Lean_Name_isAnonymous(lean_object*);
lean_object* l_Lean_Widget_Lean_Widget_WidgetInstance_instRpcEncodableWidgetInstance_enc____x40_Lean_Widget_Types___hyg_3_(lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__23;
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__59;
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__1;
lean_object* lean_array_fget(lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__1;
static lean_object* l_Lean_Widget_Lean_Widget_MsgEmbed_instFromJsonRpcEncodablePacket___closed__1;
static double l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_chopUpChildren___closed__1;
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__5;
LEAN_EXPORT lean_object* l_Lean_Widget_InteractiveDiagnostic_toDiagnostic_prettyTt___lambda__1(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Widget_msgToInteractiveDiagnostic___closed__2;
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Widget_instImpl____x40_Lean_Widget_InteractiveDiagnostic___hyg_541____closed__1;
static lean_object* l_Lean_Widget_initFn____x40_Lean_Widget_InteractiveDiagnostic___hyg_3321____closed__3;
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__3(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith(lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__52;
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__41;
lean_object* l_Lean_Server_instRpcEncodableWithRpcRefOfTypeName_rpcDecode___rarg(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__12;
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__9;
LEAN_EXPORT lean_object* l_Lean_Lsp_compareByUserVisible___at_Lean_Widget_InteractiveDiagnostic_compareAsDiagnostics___spec__1___boxed(lean_object*, lean_object*);
extern lean_object* l_Lean_instInhabitedJson;
lean_object* l_Lean_Option_register___at_Lean_initFn____x40_Lean_Util_RecDepth___hyg_6____spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4(size_t, size_t, lean_object*, lean_object*);
lean_object* l_Lean_Expr_mvar___override(lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__7;
static lean_object* l_Lean_Widget_instImpl____x40_Lean_Widget_InteractiveDiagnostic___hyg_541____closed__3;
uint8_t lean_string_dec_eq(lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__60;
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_mkContextInfo___closed__2;
lean_object* l_Lean_Widget_tagCodeInfos_go(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__50;
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__62;
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__45;
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__67;
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838_(lean_object*);
static lean_object* l_Lean_Widget_instInhabitedEmbedFmt___closed__1;
LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__3___boxed(lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__4;
lean_object* l_Lean_Json_getBool_x3f(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_InteractiveDiagnostic_compareAsDiagnostics___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____lambda__2___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_MsgEmbed_instFromJsonRpcEncodablePacket;
lean_object* l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_enc____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__3(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_chopUpChildren(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__3;
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761_(lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__26;
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__19;
static lean_object* l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____closed__1;
static lean_object* l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__5;
LEAN_EXPORT uint8_t l_Lean_Lsp_compareByUserVisible___at_Lean_Widget_InteractiveDiagnostic_compareAsDiagnostics___spec__1(lean_object*, lean_object*);
lean_object* l_Lean_Json_getStr_x3f(lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__3___closed__1;
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__21;
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__6;
lean_object* l_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal_dec____x40_Lean_Widget_InteractiveGoal___hyg_1205_(lean_object*, lean_object*);
lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__6;
size_t lean_usize_of_nat(lean_object*);
uint8_t l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_ordDiagnosticSeverity____x40_Lean_Data_Lsp_Diagnostics___hyg_38_(uint8_t, uint8_t);
lean_object* l_Lean_Widget_goalToInteractive(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_msgToInteractive_fmtToTT___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__29;
static lean_object* l_Lean_Widget_msgToInteractive___closed__1;
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__40;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2(size_t, size_t, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__53;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___spec__7(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_msgToInteractive___lambda__1(lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__9;
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonRpcCallParams____x40_Lean_Data_Lsp_Extra___hyg_1927____spec__2(lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__61;
LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__3___boxed(lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__43;
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__2;
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_StrictOrLazy_instToJsonRpcEncodablePacket;
lean_object* l_Lean_Widget_Lean_Widget_SubexprInfo_instRpcEncodableSubexprInfo_enc____x40_Lean_Widget_InteractiveCode___hyg_283_(lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__65;
static lean_object* l_Lean_Widget_initFn____x40_Lean_Widget_InteractiveDiagnostic___hyg_3321____closed__5;
lean_object* lean_nat_to_int(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_4_(lean_object*, lean_object*);
lean_object* l_Subarray_size___rarg(lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__8;
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____lambda__1___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_instTypeNameLazyTraceChildren;
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__6;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_msgToInteractive___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Lsp_DiagnosticWith_instFromJsonRpcEncodablePacket;
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticRelatedInformation____x40_Lean_Data_Lsp_Diagnostics___hyg_961_(lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__56;
static lean_object* l_Lean_Widget_initFn____x40_Lean_Widget_InteractiveDiagnostic___hyg_3321____closed__1;
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__31;
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__1(lean_object*, lean_object*, lean_object*);
extern lean_object* l_Lean_Lsp_instOrdDiagnosticTag;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___spec__4(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_MessageData_ofFormat(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_chopUpChildren___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__4;
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__11;
lean_object* l_Lean_Widget_InteractiveGoal_pretty(lean_object*);
lean_object* l_outOfBounds___rarg(lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__5;
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__2;
lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveTermGoal_instRpcEncodableInteractiveTermGoal_dec____x40_Lean_Widget_InteractiveGoal___hyg_2335____spec__1(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__6(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____lambda__1___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_instImpl____x40_Lean_Widget_InteractiveDiagnostic___hyg_541_;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_msgToInteractive_fmtToTT___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__8;
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____rarg(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__6;
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2___closed__2;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_msgToInteractive_fmtToTT___spec__2___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_instInhabitedMsgEmbed;
uint8_t l_Lean_MessageData_hasTag(lean_object*, lean_object*);
static lean_object* l_Lean_Widget_instInhabitedMsgEmbed___closed__2;
static lean_object* l_Lean_Widget_InteractiveDiagnostic_toDiagnostic_prettyTt___lambda__1___closed__1;
lean_object* l_Lean_Name_num___override(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith___rarg(lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__17;
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__63;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*);
static lean_object* l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__4;
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____lambda__2___closed__1;
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__32;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___spec__2(lean_object*, size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_instInhabitedEmbedFmt;
static lean_object* l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__2;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__12;
LEAN_EXPORT uint8_t l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_DiagnosticWith_ordUserVisible____x40_Lean_Data_Lsp_Diagnostics___hyg_2072____at_Lean_Widget_InteractiveDiagnostic_compareAsDiagnostics___spec__2(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_pushEmbed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux(lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____closed__1;
lean_object* l_Lean_Json_opt___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_SubexprInfo_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveCode___hyg_558____spec__1(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____lambda__2___closed__2;
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__3;
LEAN_EXPORT lean_object* l_Lean_Option_get_x3f___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___spec__6___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_InteractiveDiagnostic_toDiagnostic_prettyTt(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed;
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__10;
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__10;
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__5;
lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_623____at_Lean_Widget_TaggedText_instRpcEncodable___spec__3(lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__3;
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__6;
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__72;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____closed__4;
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____closed__1;
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1104_(lean_object*);
lean_object* l_Lean_Server_instRpcEncodableWithRpcRefOfTypeName_rpcEncode___rarg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__1(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Widget_initFn____x40_Lean_Widget_InteractiveDiagnostic___hyg_3321____closed__6;
static lean_object* l_Lean_Widget_Lean_Lsp_DiagnosticWith_instFromJsonRpcEncodablePacket___closed__1;
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__3___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__7;
lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_WidgetInstance_instRpcEncodableWidgetInstance_dec____x40_Lean_Widget_Types___hyg_3____spec__2(lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___lambda__3___closed__1;
lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__7(lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__33;
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__39;
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924_(lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_msgToInteractive_fmtToTT___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Widget_InteractiveDiagnostic_toDiagnostic_prettyTt___lambda__1___closed__2;
extern lean_object* l_Std_Format_defWidth;
extern lean_object* l_Lean_Widget_instTypeNameMessageData;
static lean_object* l_Lean_Widget_instInhabitedEmbedFmt___closed__3;
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__47;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_msgToInteractive_fmtToTT___spec__2(size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_msgToInteractive___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__17;
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
LEAN_EXPORT lean_object* l_Lean_Widget_msgToInteractive___lambda__1___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_mkContextInfo___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____lambda__1(lean_object*);
static lean_object* l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__7;
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__1;
static lean_object* l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
LEAN_EXPORT lean_object* l_Lean_Widget_initFn____x40_Lean_Widget_InteractiveDiagnostic___hyg_3321_(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563_(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_MsgEmbed_instToJsonRpcEncodablePacket;
lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRange____x40_Lean_Data_Lsp_Basic___hyg_738_(lean_object*);
lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_418____at_Lean_Widget_TaggedText_instRpcEncodable___spec__5(lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__42;
lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_DiagnosticWith_UserVisible_ofDiagnostic___rarg(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
double l_Float_ofScientific(lean_object*, uint8_t, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux___closed__1;
static lean_object* l_Lean_Widget_msgToInteractiveDiagnostic___closed__4;
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_mkPPContext(lean_object*, lean_object*);
lean_object* l_Lean_FileMap_leanPosToLspPos(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__58;
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____lambda__2(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__1;
LEAN_EXPORT lean_object* l_Lean_Option_get_x3f___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___spec__6(lean_object*, lean_object*);
static lean_object* l_Lean_Widget_instInhabitedEmbedFmt___closed__2;
lean_object* l_Lean_Json_parseTagged(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_mkContextInfo___closed__3;
static lean_object* l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____closed__2;
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__36;
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_chopUpChildren___closed__4;
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__14;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__7;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_string_length(lean_object*);
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2___closed__3;
lean_object* l_Lean_Widget_TaggedText_rewrite___rarg(lean_object*, lean_object*);
lean_object* l_Lean_MessageData_isUnusedVariableWarning___lambda__1___boxed(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__69;
LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__1(lean_object*, lean_object*);
lean_object* lean_float_to_string(double);
LEAN_EXPORT lean_object* l_Lean_Widget_msgToInteractive___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*);
uint8_t l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_ordDiagnosticCode____x40_Lean_Data_Lsp_Diagnostics___hyg_412_(lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__51;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__5(size_t, size_t, lean_object*, lean_object*);
static lean_object* l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__1;
LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__5___boxed(lean_object*, lean_object*);
static lean_object* l_Lean_Widget_msgToInteractiveDiagnostic___closed__3;
LEAN_EXPORT lean_object* l_Lean_Widget_msgToInteractive_fmtToTT(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2___closed__4;
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__46;
uint8_t lean_float_beq(double, double);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__49;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_msgToInteractive_fmtToTT___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*);
lean_object* l_String_toName(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Widget_Lean_Widget_StrictOrLazy_instFromJsonRpcEncodablePacket___closed__1;
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__34;
lean_object* l_Except_orElseLazy___rarg(lean_object*, lean_object*);
static lean_object* l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____closed__3;
lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__1(lean_object*, lean_object*);
lean_object* lean_nat_sub(lean_object*, lean_object*);
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__4___closed__1;
static lean_object* l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__3;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__1(size_t, size_t, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_mkPPContext___boxed(lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__28;
static lean_object* l_Lean_Widget_instImpl____x40_Lean_Widget_InteractiveDiagnostic___hyg_541____closed__4;
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1661____spec__2(size_t, size_t, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__15;
lean_object* l_Lean_Json_getNat_x3f(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy___rarg(lean_object*, lean_object*);
static lean_object* l_Lean_Widget_Lean_Lsp_DiagnosticWith_instToJsonRpcEncodablePacket___closed__1;
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_withIgnoreTags(lean_object*, lean_object*, lean_object*);
lean_object* l_Array_ofSubarray___rarg(lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__68;
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__24;
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_206____boxed(lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__9;
static lean_object* l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__3;
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2(lean_object*, lean_object*);
static lean_object* l_Lean_Widget_msgToInteractiveDiagnostic___closed__8;
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__27;
LEAN_EXPORT lean_object* l_Lean_Widget_msgToInteractive(lean_object*, uint8_t, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Widget_Lean_Widget_SubexprInfo_instRpcEncodableSubexprInfo_dec____x40_Lean_Widget_InteractiveCode___hyg_283_(lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__8;
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__2;
size_t lean_usize_add(size_t, size_t);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_mkContextInfo___closed__4;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2(size_t, size_t, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___spec__5(lean_object*, lean_object*, size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_instInhabitedStrictOrLazy(lean_object*);
lean_object* l_Lean_KVMap_findCore(lean_object*, lean_object*);
lean_object* lean_array_uget(lean_object*, size_t);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__7;
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__4;
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__3(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__2;
LEAN_EXPORT lean_object* l_Lean_Widget_msgToInteractive_fmtToTT___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__4(size_t, size_t, lean_object*, lean_object*);
static lean_object* l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__5;
lean_object* lean_io_error_to_string(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_InteractiveDiagnostic_toDiagnostic_prettyTt___lambda__1___boxed(lean_object*, lean_object*);
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__4___closed__3;
static lean_object* l_Lean_Widget_initFn____x40_Lean_Widget_InteractiveDiagnostic___hyg_3321____closed__2;
LEAN_EXPORT lean_object* l_Lean_Widget_msgToInteractive_fmtToTT___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*);
lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1606____spec__2(size_t, size_t, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__13;
static lean_object* l_Lean_Widget_msgToInteractiveDiagnostic___closed__10;
lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__4___closed__4;
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__37;
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__20;
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__25;
lean_object* lean_string_append(lean_object*, lean_object*);
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__4___closed__2;
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__66;
lean_object* lean_array_get_size(lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_chopUpChildren___closed__3;
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__64;
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_mkContextInfo(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__3;
static lean_object* l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed___closed__1;
LEAN_EXPORT lean_object* l_Lean_Widget_msgToInteractive_fmtToTT___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___spec__3(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__48;
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t lean_usize_dec_lt(size_t, size_t);
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__15;
static lean_object* l_Lean_Widget_initFn____x40_Lean_Widget_InteractiveDiagnostic___hyg_3321____closed__4;
LEAN_EXPORT uint8_t l_Lean_Widget_InteractiveDiagnostic_compareAsDiagnostics(lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__8;
lean_object* lean_expr_dbg_to_string(lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__14;
LEAN_EXPORT lean_object* l_Lean_Widget_msgToInteractiveDiagnostic(lean_object*, lean_object*, uint8_t, lean_object*);
lean_object* lean_nat_add(lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__73;
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4_(lean_object*, lean_object*);
uint8_t lean_string_dec_lt(lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__71;
static lean_object* l_Lean_Widget_instInhabitedMsgEmbed___closed__1;
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_2515_(lean_object*);
LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__1___boxed(lean_object*, lean_object*);
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__5___closed__1;
lean_object* l_Lean_Json_pretty(lean_object*, lean_object*);
lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_WidgetInstance_instRpcEncodableWidgetInstance_dec____x40_Lean_Widget_Types___hyg_3____spec__3(lean_object*, lean_object*);
static lean_object* l_Lean_Widget_msgToInteractiveDiagnostic___closed__6;
LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__3(lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__18;
static lean_object* l_Lean_Widget_msgToInteractiveDiagnostic___closed__5;
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_SubexprInfo_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveCode___hyg_345____spec__1(lean_object*, lean_object*);
lean_object* lean_array_uset(lean_object*, size_t, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____lambda__1___closed__2;
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____lambda__1___closed__1;
lean_object* l___private_Init_Data_Repr_0__Nat_reprFast(lean_object*);
lean_object* l_Lean_MessageData_isDeprecationWarning___lambda__1___boxed(lean_object*);
lean_object* l_Lean_Elab_ContextInfo_runMetaM___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal_enc____x40_Lean_Widget_InteractiveGoal___hyg_1205_(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____lambda__1(lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__5;
LEAN_EXPORT lean_object* l_Lean_Widget_infoview_maxTraceChildren;
lean_object* l_Lean_Widget_TaggedText_stripTags___rarg(lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__2;
lean_object* l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__5(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__55;
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__44;
lean_object* l_Lean_MessageData_format(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____rarg(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__16;
LEAN_EXPORT lean_object* l_Lean_Widget_instInhabitedStrictOrLazy___rarg(lean_object*, lean_object*);
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__1;
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_rewriteM___at_Lean_Widget_msgToInteractive_fmtToTT___spec__3(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Widget_msgToInteractiveDiagnostic___closed__11;
extern lean_object* l_Lean_Lsp_instOrdDiagnosticRelatedInformation;
static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__70;
static lean_object* l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____closed__1;
double lean_float_sub(double, double);
lean_object* l___private_Init_Dynamic_0__Dynamic_get_x3fImpl___rarg(lean_object*, lean_object*);
uint8_t l_Array_isEmpty___rarg(lean_object*);
uint8_t l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_ordRange____x40_Lean_Data_Lsp_Basic___hyg_888_(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Widget_instInhabitedStrictOrLazy___rarg(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_3, 0, x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_instInhabitedStrictOrLazy(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_Lean_Widget_instInhabitedStrictOrLazy___rarg), 2, 0);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____lambda__1___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("no inductive constructor matched", 32, 32);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____lambda__1___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____lambda__1___closed__1;
x_2 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____lambda__1(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____lambda__1___closed__2;
return x_2;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____lambda__2___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("strict", 6, 6);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____lambda__2___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____lambda__1___boxed), 1, 0);
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; 
x_4 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____lambda__2___closed__1;
x_5 = lean_unsigned_to_nat(1u);
x_6 = l_Lean_Json_parseTagged(x_1, x_4, x_5, x_2);
if (lean_obj_tag(x_6) == 0)
{
uint8_t x_7; 
x_7 = !lean_is_exclusive(x_6);
if (x_7 == 0)
{
lean_object* x_8; lean_object* x_9; 
x_8 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____lambda__2___closed__2;
x_9 = l_Except_orElseLazy___rarg(x_6, x_8);
return x_9;
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; 
x_10 = lean_ctor_get(x_6, 0);
lean_inc(x_10);
lean_dec(x_6);
x_11 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_11, 0, x_10);
x_12 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____lambda__2___closed__2;
x_13 = l_Except_orElseLazy___rarg(x_11, x_12);
return x_13;
}
}
else
{
uint8_t x_14; 
x_14 = !lean_is_exclusive(x_6);
if (x_14 == 0)
{
lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; 
x_15 = lean_ctor_get(x_6, 0);
x_16 = lean_array_get_size(x_15);
x_17 = lean_unsigned_to_nat(0u);
x_18 = lean_nat_dec_lt(x_17, x_16);
lean_dec(x_16);
if (x_18 == 0)
{
lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; 
lean_dec(x_15);
x_19 = l_Lean_instInhabitedJson;
x_20 = l_outOfBounds___rarg(x_19);
x_21 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_21, 0, x_20);
lean_ctor_set(x_6, 0, x_21);
x_22 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____lambda__2___closed__2;
x_23 = l_Except_orElseLazy___rarg(x_6, x_22);
return x_23;
}
else
{
lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; 
x_24 = lean_array_fget(x_15, x_17);
lean_dec(x_15);
x_25 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_25, 0, x_24);
lean_ctor_set(x_6, 0, x_25);
x_26 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____lambda__2___closed__2;
x_27 = l_Except_orElseLazy___rarg(x_6, x_26);
return x_27;
}
}
else
{
lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; 
x_28 = lean_ctor_get(x_6, 0);
lean_inc(x_28);
lean_dec(x_6);
x_29 = lean_array_get_size(x_28);
x_30 = lean_unsigned_to_nat(0u);
x_31 = lean_nat_dec_lt(x_30, x_29);
lean_dec(x_29);
if (x_31 == 0)
{
lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; 
lean_dec(x_28);
x_32 = l_Lean_instInhabitedJson;
x_33 = l_outOfBounds___rarg(x_32);
x_34 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_34, 0, x_33);
x_35 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_35, 0, x_34);
x_36 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____lambda__2___closed__2;
x_37 = l_Except_orElseLazy___rarg(x_35, x_36);
return x_37;
}
else
{
lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; 
x_38 = lean_array_fget(x_28, x_30);
lean_dec(x_28);
x_39 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_39, 0, x_38);
x_40 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_40, 0, x_39);
x_41 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____lambda__2___closed__2;
x_42 = l_Except_orElseLazy___rarg(x_40, x_41);
return x_42;
}
}
}
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("lazy", 4, 4);
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92_(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; 
x_2 = lean_box(0);
x_3 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____closed__1;
x_4 = lean_unsigned_to_nat(1u);
lean_inc(x_1);
x_5 = l_Lean_Json_parseTagged(x_1, x_3, x_4, x_2);
x_6 = lean_alloc_closure((void*)(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____lambda__2___boxed), 3, 2);
lean_closure_set(x_6, 0, x_1);
lean_closure_set(x_6, 1, x_2);
if (lean_obj_tag(x_5) == 0)
{
uint8_t x_7; 
x_7 = !lean_is_exclusive(x_5);
if (x_7 == 0)
{
lean_object* x_8; 
x_8 = l_Except_orElseLazy___rarg(x_5, x_6);
return x_8;
}
else
{
lean_object* x_9; lean_object* x_10; lean_object* x_11; 
x_9 = lean_ctor_get(x_5, 0);
lean_inc(x_9);
lean_dec(x_5);
x_10 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_10, 0, x_9);
x_11 = l_Except_orElseLazy___rarg(x_10, x_6);
return x_11;
}
}
else
{
uint8_t x_12; 
x_12 = !lean_is_exclusive(x_5);
if (x_12 == 0)
{
lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; 
x_13 = lean_ctor_get(x_5, 0);
x_14 = lean_array_get_size(x_13);
x_15 = lean_unsigned_to_nat(0u);
x_16 = lean_nat_dec_lt(x_15, x_14);
lean_dec(x_14);
if (x_16 == 0)
{
lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; 
lean_dec(x_13);
x_17 = l_Lean_instInhabitedJson;
x_18 = l_outOfBounds___rarg(x_17);
x_19 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_19, 0, x_18);
lean_ctor_set(x_5, 0, x_19);
x_20 = l_Except_orElseLazy___rarg(x_5, x_6);
return x_20;
}
else
{
lean_object* x_21; lean_object* x_22; lean_object* x_23; 
x_21 = lean_array_fget(x_13, x_15);
lean_dec(x_13);
x_22 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_22, 0, x_21);
lean_ctor_set(x_5, 0, x_22);
x_23 = l_Except_orElseLazy___rarg(x_5, x_6);
return x_23;
}
}
else
{
lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; 
x_24 = lean_ctor_get(x_5, 0);
lean_inc(x_24);
lean_dec(x_5);
x_25 = lean_array_get_size(x_24);
x_26 = lean_unsigned_to_nat(0u);
x_27 = lean_nat_dec_lt(x_26, x_25);
lean_dec(x_25);
if (x_27 == 0)
{
lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; 
lean_dec(x_24);
x_28 = l_Lean_instInhabitedJson;
x_29 = l_outOfBounds___rarg(x_28);
x_30 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_30, 0, x_29);
x_31 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_31, 0, x_30);
x_32 = l_Except_orElseLazy___rarg(x_31, x_6);
return x_32;
}
else
{
lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; 
x_33 = lean_array_fget(x_24, x_26);
lean_dec(x_24);
x_34 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_34, 0, x_33);
x_35 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_35, 0, x_34);
x_36 = l_Except_orElseLazy___rarg(x_35, x_6);
return x_36;
}
}
}
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____lambda__1___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____lambda__1(x_1);
lean_dec(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____lambda__2(x_1, x_2, x_3);
lean_dec(x_3);
lean_dec(x_2);
return x_4;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Widget_StrictOrLazy_instFromJsonRpcEncodablePacket___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92_), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Widget_StrictOrLazy_instFromJsonRpcEncodablePacket() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instFromJsonRpcEncodablePacket___closed__1;
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_206_(lean_object* x_1) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_2 = lean_ctor_get(x_1, 0);
x_3 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____lambda__2___closed__1;
lean_inc(x_2);
x_4 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
x_5 = lean_box(0);
x_6 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_6, 0, x_4);
lean_ctor_set(x_6, 1, x_5);
x_7 = l_Lean_Json_mkObj(x_6);
return x_7;
}
else
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; 
x_8 = lean_ctor_get(x_1, 0);
x_9 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____closed__1;
lean_inc(x_8);
x_10 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_10, 0, x_9);
lean_ctor_set(x_10, 1, x_8);
x_11 = lean_box(0);
x_12 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_12, 0, x_10);
lean_ctor_set(x_12, 1, x_11);
x_13 = l_Lean_Json_mkObj(x_12);
return x_13;
}
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_206____boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_206_(x_1);
lean_dec(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Widget_StrictOrLazy_instToJsonRpcEncodablePacket___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_206____boxed), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Widget_StrictOrLazy_instToJsonRpcEncodablePacket() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instToJsonRpcEncodablePacket___closed__1;
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_5; 
lean_dec(x_2);
x_5 = !lean_is_exclusive(x_3);
if (x_5 == 0)
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; 
x_6 = lean_ctor_get(x_3, 0);
x_7 = lean_ctor_get(x_1, 0);
lean_inc(x_7);
lean_dec(x_1);
x_8 = lean_apply_2(x_7, x_6, x_4);
x_9 = !lean_is_exclusive(x_8);
if (x_9 == 0)
{
lean_object* x_10; lean_object* x_11; 
x_10 = lean_ctor_get(x_8, 0);
lean_ctor_set(x_3, 0, x_10);
x_11 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_206_(x_3);
lean_dec(x_3);
lean_ctor_set(x_8, 0, x_11);
return x_8;
}
else
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; 
x_12 = lean_ctor_get(x_8, 0);
x_13 = lean_ctor_get(x_8, 1);
lean_inc(x_13);
lean_inc(x_12);
lean_dec(x_8);
lean_ctor_set(x_3, 0, x_12);
x_14 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_206_(x_3);
lean_dec(x_3);
x_15 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_15, 0, x_14);
lean_ctor_set(x_15, 1, x_13);
return x_15;
}
}
else
{
lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; 
x_16 = lean_ctor_get(x_3, 0);
lean_inc(x_16);
lean_dec(x_3);
x_17 = lean_ctor_get(x_1, 0);
lean_inc(x_17);
lean_dec(x_1);
x_18 = lean_apply_2(x_17, x_16, x_4);
x_19 = lean_ctor_get(x_18, 0);
lean_inc(x_19);
x_20 = lean_ctor_get(x_18, 1);
lean_inc(x_20);
if (lean_is_exclusive(x_18)) {
 lean_ctor_release(x_18, 0);
 lean_ctor_release(x_18, 1);
 x_21 = x_18;
} else {
 lean_dec_ref(x_18);
 x_21 = lean_box(0);
}
x_22 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_22, 0, x_19);
x_23 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_206_(x_22);
lean_dec(x_22);
if (lean_is_scalar(x_21)) {
 x_24 = lean_alloc_ctor(0, 2, 0);
} else {
 x_24 = x_21;
}
lean_ctor_set(x_24, 0, x_23);
lean_ctor_set(x_24, 1, x_20);
return x_24;
}
}
else
{
uint8_t x_25; 
lean_dec(x_1);
x_25 = !lean_is_exclusive(x_3);
if (x_25 == 0)
{
lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; 
x_26 = lean_ctor_get(x_3, 0);
x_27 = lean_ctor_get(x_2, 0);
lean_inc(x_27);
lean_dec(x_2);
x_28 = lean_apply_2(x_27, x_26, x_4);
x_29 = !lean_is_exclusive(x_28);
if (x_29 == 0)
{
lean_object* x_30; lean_object* x_31; 
x_30 = lean_ctor_get(x_28, 0);
lean_ctor_set(x_3, 0, x_30);
x_31 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_206_(x_3);
lean_dec(x_3);
lean_ctor_set(x_28, 0, x_31);
return x_28;
}
else
{
lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; 
x_32 = lean_ctor_get(x_28, 0);
x_33 = lean_ctor_get(x_28, 1);
lean_inc(x_33);
lean_inc(x_32);
lean_dec(x_28);
lean_ctor_set(x_3, 0, x_32);
x_34 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_206_(x_3);
lean_dec(x_3);
x_35 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_35, 0, x_34);
lean_ctor_set(x_35, 1, x_33);
return x_35;
}
}
else
{
lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; 
x_36 = lean_ctor_get(x_3, 0);
lean_inc(x_36);
lean_dec(x_3);
x_37 = lean_ctor_get(x_2, 0);
lean_inc(x_37);
lean_dec(x_2);
x_38 = lean_apply_2(x_37, x_36, x_4);
x_39 = lean_ctor_get(x_38, 0);
lean_inc(x_39);
x_40 = lean_ctor_get(x_38, 1);
lean_inc(x_40);
if (lean_is_exclusive(x_38)) {
 lean_ctor_release(x_38, 0);
 lean_ctor_release(x_38, 1);
 x_41 = x_38;
} else {
 lean_dec_ref(x_38);
 x_41 = lean_box(0);
}
x_42 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_42, 0, x_39);
x_43 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_206_(x_42);
lean_dec(x_42);
if (lean_is_scalar(x_41)) {
 x_44 = lean_alloc_ctor(0, 2, 0);
} else {
 x_44 = x_41;
}
lean_ctor_set(x_44, 0, x_43);
lean_ctor_set(x_44, 1, x_40);
return x_44;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_4_(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = lean_alloc_closure((void*)(l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____rarg), 4, 0);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92_(x_3);
if (lean_obj_tag(x_5) == 0)
{
uint8_t x_6; 
lean_dec(x_4);
lean_dec(x_2);
lean_dec(x_1);
x_6 = !lean_is_exclusive(x_5);
if (x_6 == 0)
{
return x_5;
}
else
{
lean_object* x_7; lean_object* x_8; 
x_7 = lean_ctor_get(x_5, 0);
lean_inc(x_7);
lean_dec(x_5);
x_8 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_8, 0, x_7);
return x_8;
}
}
else
{
lean_object* x_9; 
x_9 = lean_ctor_get(x_5, 0);
lean_inc(x_9);
lean_dec(x_5);
if (lean_obj_tag(x_9) == 0)
{
uint8_t x_10; 
lean_dec(x_2);
x_10 = !lean_is_exclusive(x_9);
if (x_10 == 0)
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; 
x_11 = lean_ctor_get(x_9, 0);
x_12 = lean_ctor_get(x_1, 1);
lean_inc(x_12);
lean_dec(x_1);
x_13 = lean_apply_2(x_12, x_11, x_4);
if (lean_obj_tag(x_13) == 0)
{
uint8_t x_14; 
lean_free_object(x_9);
x_14 = !lean_is_exclusive(x_13);
if (x_14 == 0)
{
return x_13;
}
else
{
lean_object* x_15; lean_object* x_16; 
x_15 = lean_ctor_get(x_13, 0);
lean_inc(x_15);
lean_dec(x_13);
x_16 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_16, 0, x_15);
return x_16;
}
}
else
{
uint8_t x_17; 
x_17 = !lean_is_exclusive(x_13);
if (x_17 == 0)
{
lean_object* x_18; 
x_18 = lean_ctor_get(x_13, 0);
lean_ctor_set(x_9, 0, x_18);
lean_ctor_set(x_13, 0, x_9);
return x_13;
}
else
{
lean_object* x_19; lean_object* x_20; 
x_19 = lean_ctor_get(x_13, 0);
lean_inc(x_19);
lean_dec(x_13);
lean_ctor_set(x_9, 0, x_19);
x_20 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_20, 0, x_9);
return x_20;
}
}
}
else
{
lean_object* x_21; lean_object* x_22; lean_object* x_23; 
x_21 = lean_ctor_get(x_9, 0);
lean_inc(x_21);
lean_dec(x_9);
x_22 = lean_ctor_get(x_1, 1);
lean_inc(x_22);
lean_dec(x_1);
x_23 = lean_apply_2(x_22, x_21, x_4);
if (lean_obj_tag(x_23) == 0)
{
lean_object* x_24; lean_object* x_25; lean_object* x_26; 
x_24 = lean_ctor_get(x_23, 0);
lean_inc(x_24);
if (lean_is_exclusive(x_23)) {
 lean_ctor_release(x_23, 0);
 x_25 = x_23;
} else {
 lean_dec_ref(x_23);
 x_25 = lean_box(0);
}
if (lean_is_scalar(x_25)) {
 x_26 = lean_alloc_ctor(0, 1, 0);
} else {
 x_26 = x_25;
}
lean_ctor_set(x_26, 0, x_24);
return x_26;
}
else
{
lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; 
x_27 = lean_ctor_get(x_23, 0);
lean_inc(x_27);
if (lean_is_exclusive(x_23)) {
 lean_ctor_release(x_23, 0);
 x_28 = x_23;
} else {
 lean_dec_ref(x_23);
 x_28 = lean_box(0);
}
x_29 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_29, 0, x_27);
if (lean_is_scalar(x_28)) {
 x_30 = lean_alloc_ctor(1, 1, 0);
} else {
 x_30 = x_28;
}
lean_ctor_set(x_30, 0, x_29);
return x_30;
}
}
}
else
{
uint8_t x_31; 
lean_dec(x_1);
x_31 = !lean_is_exclusive(x_9);
if (x_31 == 0)
{
lean_object* x_32; lean_object* x_33; lean_object* x_34; 
x_32 = lean_ctor_get(x_9, 0);
x_33 = lean_ctor_get(x_2, 1);
lean_inc(x_33);
lean_dec(x_2);
x_34 = lean_apply_2(x_33, x_32, x_4);
if (lean_obj_tag(x_34) == 0)
{
uint8_t x_35; 
lean_free_object(x_9);
x_35 = !lean_is_exclusive(x_34);
if (x_35 == 0)
{
return x_34;
}
else
{
lean_object* x_36; lean_object* x_37; 
x_36 = lean_ctor_get(x_34, 0);
lean_inc(x_36);
lean_dec(x_34);
x_37 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_37, 0, x_36);
return x_37;
}
}
else
{
uint8_t x_38; 
x_38 = !lean_is_exclusive(x_34);
if (x_38 == 0)
{
lean_object* x_39; 
x_39 = lean_ctor_get(x_34, 0);
lean_ctor_set(x_9, 0, x_39);
lean_ctor_set(x_34, 0, x_9);
return x_34;
}
else
{
lean_object* x_40; lean_object* x_41; 
x_40 = lean_ctor_get(x_34, 0);
lean_inc(x_40);
lean_dec(x_34);
lean_ctor_set(x_9, 0, x_40);
x_41 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_41, 0, x_9);
return x_41;
}
}
}
else
{
lean_object* x_42; lean_object* x_43; lean_object* x_44; 
x_42 = lean_ctor_get(x_9, 0);
lean_inc(x_42);
lean_dec(x_9);
x_43 = lean_ctor_get(x_2, 1);
lean_inc(x_43);
lean_dec(x_2);
x_44 = lean_apply_2(x_43, x_42, x_4);
if (lean_obj_tag(x_44) == 0)
{
lean_object* x_45; lean_object* x_46; lean_object* x_47; 
x_45 = lean_ctor_get(x_44, 0);
lean_inc(x_45);
if (lean_is_exclusive(x_44)) {
 lean_ctor_release(x_44, 0);
 x_46 = x_44;
} else {
 lean_dec_ref(x_44);
 x_46 = lean_box(0);
}
if (lean_is_scalar(x_46)) {
 x_47 = lean_alloc_ctor(0, 1, 0);
} else {
 x_47 = x_46;
}
lean_ctor_set(x_47, 0, x_45);
return x_47;
}
else
{
lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; 
x_48 = lean_ctor_get(x_44, 0);
lean_inc(x_48);
if (lean_is_exclusive(x_44)) {
 lean_ctor_release(x_44, 0);
 x_49 = x_44;
} else {
 lean_dec_ref(x_44);
 x_49 = lean_box(0);
}
x_50 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_50, 0, x_48);
if (lean_is_scalar(x_49)) {
 x_51 = lean_alloc_ctor(1, 1, 0);
} else {
 x_51 = x_49;
}
lean_ctor_set(x_51, 0, x_50);
return x_51;
}
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4_(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = lean_alloc_closure((void*)(l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____rarg), 4, 0);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy___rarg(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; 
lean_inc(x_2);
lean_inc(x_1);
x_3 = lean_alloc_closure((void*)(l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____rarg), 4, 2);
lean_closure_set(x_3, 0, x_1);
lean_closure_set(x_3, 1, x_2);
x_4 = lean_alloc_closure((void*)(l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____rarg), 4, 2);
lean_closure_set(x_4, 0, x_1);
lean_closure_set(x_4, 1, x_2);
x_5 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_5, 0, x_3);
lean_ctor_set(x_5, 1, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = lean_alloc_closure((void*)(l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy___rarg), 2, 0);
return x_3;
}
}
static lean_object* _init_l_Lean_Widget_instImpl____x40_Lean_Widget_InteractiveDiagnostic___hyg_541____closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Lean", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_instImpl____x40_Lean_Widget_InteractiveDiagnostic___hyg_541____closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Widget", 6, 6);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_instImpl____x40_Lean_Widget_InteractiveDiagnostic___hyg_541____closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("LazyTraceChildren", 17, 17);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_instImpl____x40_Lean_Widget_InteractiveDiagnostic___hyg_541____closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Widget_instImpl____x40_Lean_Widget_InteractiveDiagnostic___hyg_541____closed__1;
x_2 = l_Lean_Widget_instImpl____x40_Lean_Widget_InteractiveDiagnostic___hyg_541____closed__2;
x_3 = l_Lean_Widget_instImpl____x40_Lean_Widget_InteractiveDiagnostic___hyg_541____closed__3;
x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Widget_instImpl____x40_Lean_Widget_InteractiveDiagnostic___hyg_541_() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Widget_instImpl____x40_Lean_Widget_InteractiveDiagnostic___hyg_541____closed__4;
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_instTypeNameLazyTraceChildren() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Widget_instImpl____x40_Lean_Widget_InteractiveDiagnostic___hyg_541_;
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_instInhabitedMsgEmbed___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("", 0, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_instInhabitedMsgEmbed___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Widget_instInhabitedMsgEmbed___closed__1;
x_2 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Widget_instInhabitedMsgEmbed___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Widget_instInhabitedMsgEmbed___closed__2;
x_2 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Widget_instInhabitedMsgEmbed() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Widget_instInhabitedMsgEmbed___closed__3;
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("indent", 6, 6);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__1;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("cls", 3, 3);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__3;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__5() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("msg", 3, 3);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__5;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__7() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("collapsed", 9, 9);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__7;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__9() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("children", 8, 8);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__9;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__11() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(5u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__12() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__11;
x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__2;
x_3 = lean_array_push(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__13() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__12;
x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__4;
x_3 = lean_array_push(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__14() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__13;
x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__6;
x_3 = lean_array_push(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__15() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__14;
x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__8;
x_3 = lean_array_push(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__16() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__15;
x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__10;
x_3 = lean_array_push(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__17() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__16;
x_2 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__18() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("trace", 5, 5);
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; 
x_3 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__18;
x_4 = lean_unsigned_to_nat(5u);
x_5 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__17;
x_6 = l_Lean_Json_parseTagged(x_1, x_3, x_4, x_5);
if (lean_obj_tag(x_6) == 0)
{
uint8_t x_7; 
x_7 = !lean_is_exclusive(x_6);
if (x_7 == 0)
{
lean_object* x_8; lean_object* x_9; 
x_8 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____lambda__2___closed__2;
x_9 = l_Except_orElseLazy___rarg(x_6, x_8);
return x_9;
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; 
x_10 = lean_ctor_get(x_6, 0);
lean_inc(x_10);
lean_dec(x_6);
x_11 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_11, 0, x_10);
x_12 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____lambda__2___closed__2;
x_13 = l_Except_orElseLazy___rarg(x_11, x_12);
return x_13;
}
}
else
{
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; 
x_14 = lean_ctor_get(x_6, 0);
lean_inc(x_14);
if (lean_is_exclusive(x_6)) {
 lean_ctor_release(x_6, 0);
 x_15 = x_6;
} else {
 lean_dec_ref(x_6);
 x_15 = lean_box(0);
}
x_16 = lean_array_get_size(x_14);
x_17 = lean_unsigned_to_nat(0u);
x_18 = lean_nat_dec_lt(x_17, x_16);
x_19 = lean_unsigned_to_nat(1u);
x_20 = lean_nat_dec_lt(x_19, x_16);
x_21 = lean_unsigned_to_nat(2u);
x_22 = lean_nat_dec_lt(x_21, x_16);
x_23 = lean_unsigned_to_nat(3u);
x_24 = lean_nat_dec_lt(x_23, x_16);
x_25 = lean_unsigned_to_nat(4u);
x_26 = lean_nat_dec_lt(x_25, x_16);
lean_dec(x_16);
if (x_18 == 0)
{
lean_object* x_86; lean_object* x_87; 
x_86 = l_Lean_instInhabitedJson;
x_87 = l_outOfBounds___rarg(x_86);
x_27 = x_87;
goto block_85;
}
else
{
lean_object* x_88; 
x_88 = lean_array_fget(x_14, x_17);
x_27 = x_88;
goto block_85;
}
block_85:
{
lean_object* x_28; lean_object* x_54; lean_object* x_55; 
if (x_20 == 0)
{
lean_object* x_82; lean_object* x_83; 
x_82 = l_Lean_instInhabitedJson;
x_83 = l_outOfBounds___rarg(x_82);
if (x_22 == 0)
{
x_28 = x_83;
goto block_53;
}
else
{
lean_dec(x_15);
x_54 = x_83;
x_55 = lean_box(0);
goto block_81;
}
}
else
{
lean_object* x_84; 
x_84 = lean_array_fget(x_14, x_19);
if (x_22 == 0)
{
x_28 = x_84;
goto block_53;
}
else
{
lean_dec(x_15);
x_54 = x_84;
x_55 = lean_box(0);
goto block_81;
}
}
block_53:
{
lean_object* x_29; lean_object* x_30; 
x_29 = l_Lean_instInhabitedJson;
x_30 = l_outOfBounds___rarg(x_29);
if (x_24 == 0)
{
lean_object* x_31; 
x_31 = l_outOfBounds___rarg(x_29);
if (x_26 == 0)
{
lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; 
lean_dec(x_14);
x_32 = l_outOfBounds___rarg(x_29);
x_33 = lean_alloc_ctor(3, 5, 0);
lean_ctor_set(x_33, 0, x_27);
lean_ctor_set(x_33, 1, x_28);
lean_ctor_set(x_33, 2, x_30);
lean_ctor_set(x_33, 3, x_31);
lean_ctor_set(x_33, 4, x_32);
if (lean_is_scalar(x_15)) {
 x_34 = lean_alloc_ctor(1, 1, 0);
} else {
 x_34 = x_15;
}
lean_ctor_set(x_34, 0, x_33);
x_35 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____lambda__2___closed__2;
x_36 = l_Except_orElseLazy___rarg(x_34, x_35);
return x_36;
}
else
{
lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; 
x_37 = lean_array_fget(x_14, x_25);
lean_dec(x_14);
x_38 = lean_alloc_ctor(3, 5, 0);
lean_ctor_set(x_38, 0, x_27);
lean_ctor_set(x_38, 1, x_28);
lean_ctor_set(x_38, 2, x_30);
lean_ctor_set(x_38, 3, x_31);
lean_ctor_set(x_38, 4, x_37);
if (lean_is_scalar(x_15)) {
 x_39 = lean_alloc_ctor(1, 1, 0);
} else {
 x_39 = x_15;
}
lean_ctor_set(x_39, 0, x_38);
x_40 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____lambda__2___closed__2;
x_41 = l_Except_orElseLazy___rarg(x_39, x_40);
return x_41;
}
}
else
{
lean_object* x_42; 
x_42 = lean_array_fget(x_14, x_23);
if (x_26 == 0)
{
lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; 
lean_dec(x_14);
x_43 = l_outOfBounds___rarg(x_29);
x_44 = lean_alloc_ctor(3, 5, 0);
lean_ctor_set(x_44, 0, x_27);
lean_ctor_set(x_44, 1, x_28);
lean_ctor_set(x_44, 2, x_30);
lean_ctor_set(x_44, 3, x_42);
lean_ctor_set(x_44, 4, x_43);
if (lean_is_scalar(x_15)) {
 x_45 = lean_alloc_ctor(1, 1, 0);
} else {
 x_45 = x_15;
}
lean_ctor_set(x_45, 0, x_44);
x_46 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____lambda__2___closed__2;
x_47 = l_Except_orElseLazy___rarg(x_45, x_46);
return x_47;
}
else
{
lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; 
x_48 = lean_array_fget(x_14, x_25);
lean_dec(x_14);
x_49 = lean_alloc_ctor(3, 5, 0);
lean_ctor_set(x_49, 0, x_27);
lean_ctor_set(x_49, 1, x_28);
lean_ctor_set(x_49, 2, x_30);
lean_ctor_set(x_49, 3, x_42);
lean_ctor_set(x_49, 4, x_48);
if (lean_is_scalar(x_15)) {
 x_50 = lean_alloc_ctor(1, 1, 0);
} else {
 x_50 = x_15;
}
lean_ctor_set(x_50, 0, x_49);
x_51 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____lambda__2___closed__2;
x_52 = l_Except_orElseLazy___rarg(x_50, x_51);
return x_52;
}
}
}
block_81:
{
lean_object* x_56; 
x_56 = lean_array_fget(x_14, x_21);
if (x_24 == 0)
{
lean_object* x_57; lean_object* x_58; 
x_57 = l_Lean_instInhabitedJson;
x_58 = l_outOfBounds___rarg(x_57);
if (x_26 == 0)
{
lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; 
lean_dec(x_14);
x_59 = l_outOfBounds___rarg(x_57);
x_60 = lean_alloc_ctor(3, 5, 0);
lean_ctor_set(x_60, 0, x_27);
lean_ctor_set(x_60, 1, x_54);
lean_ctor_set(x_60, 2, x_56);
lean_ctor_set(x_60, 3, x_58);
lean_ctor_set(x_60, 4, x_59);
x_61 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_61, 0, x_60);
x_62 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____lambda__2___closed__2;
x_63 = l_Except_orElseLazy___rarg(x_61, x_62);
return x_63;
}
else
{
lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; 
x_64 = lean_array_fget(x_14, x_25);
lean_dec(x_14);
x_65 = lean_alloc_ctor(3, 5, 0);
lean_ctor_set(x_65, 0, x_27);
lean_ctor_set(x_65, 1, x_54);
lean_ctor_set(x_65, 2, x_56);
lean_ctor_set(x_65, 3, x_58);
lean_ctor_set(x_65, 4, x_64);
x_66 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_66, 0, x_65);
x_67 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____lambda__2___closed__2;
x_68 = l_Except_orElseLazy___rarg(x_66, x_67);
return x_68;
}
}
else
{
lean_object* x_69; 
x_69 = lean_array_fget(x_14, x_23);
if (x_26 == 0)
{
lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; 
lean_dec(x_14);
x_70 = l_Lean_instInhabitedJson;
x_71 = l_outOfBounds___rarg(x_70);
x_72 = lean_alloc_ctor(3, 5, 0);
lean_ctor_set(x_72, 0, x_27);
lean_ctor_set(x_72, 1, x_54);
lean_ctor_set(x_72, 2, x_56);
lean_ctor_set(x_72, 3, x_69);
lean_ctor_set(x_72, 4, x_71);
x_73 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_73, 0, x_72);
x_74 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____lambda__2___closed__2;
x_75 = l_Except_orElseLazy___rarg(x_73, x_74);
return x_75;
}
else
{
lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; 
x_76 = lean_array_fget(x_14, x_25);
lean_dec(x_14);
x_77 = lean_alloc_ctor(3, 5, 0);
lean_ctor_set(x_77, 0, x_27);
lean_ctor_set(x_77, 1, x_54);
lean_ctor_set(x_77, 2, x_56);
lean_ctor_set(x_77, 3, x_69);
lean_ctor_set(x_77, 4, x_76);
x_78 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_78, 0, x_77);
x_79 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____lambda__2___closed__2;
x_80 = l_Except_orElseLazy___rarg(x_78, x_79);
return x_80;
}
}
}
}
}
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("wi", 2, 2);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__1;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("alt", 3, 3);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__3;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(2u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__5;
x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__2;
x_3 = lean_array_push(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__6;
x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__4;
x_3 = lean_array_push(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__7;
x_2 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__9() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("widget", 6, 6);
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_3 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__9;
x_4 = lean_unsigned_to_nat(2u);
x_5 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__8;
lean_inc(x_1);
x_6 = l_Lean_Json_parseTagged(x_1, x_3, x_4, x_5);
x_7 = lean_alloc_closure((void*)(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___boxed), 2, 1);
lean_closure_set(x_7, 0, x_1);
if (lean_obj_tag(x_6) == 0)
{
uint8_t x_8; 
x_8 = !lean_is_exclusive(x_6);
if (x_8 == 0)
{
lean_object* x_9; 
x_9 = l_Except_orElseLazy___rarg(x_6, x_7);
return x_9;
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_10 = lean_ctor_get(x_6, 0);
lean_inc(x_10);
lean_dec(x_6);
x_11 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_11, 0, x_10);
x_12 = l_Except_orElseLazy___rarg(x_11, x_7);
return x_12;
}
}
else
{
uint8_t x_13; 
x_13 = !lean_is_exclusive(x_6);
if (x_13 == 0)
{
lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; uint8_t x_19; 
x_14 = lean_ctor_get(x_6, 0);
x_15 = lean_array_get_size(x_14);
x_16 = lean_unsigned_to_nat(0u);
x_17 = lean_nat_dec_lt(x_16, x_15);
x_18 = lean_unsigned_to_nat(1u);
x_19 = lean_nat_dec_lt(x_18, x_15);
lean_dec(x_15);
if (x_17 == 0)
{
lean_object* x_20; lean_object* x_21; 
x_20 = l_Lean_instInhabitedJson;
x_21 = l_outOfBounds___rarg(x_20);
if (x_19 == 0)
{
lean_object* x_22; lean_object* x_23; lean_object* x_24; 
lean_dec(x_14);
x_22 = l_outOfBounds___rarg(x_20);
x_23 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_23, 0, x_21);
lean_ctor_set(x_23, 1, x_22);
lean_ctor_set(x_6, 0, x_23);
x_24 = l_Except_orElseLazy___rarg(x_6, x_7);
return x_24;
}
else
{
lean_object* x_25; lean_object* x_26; lean_object* x_27; 
x_25 = lean_array_fget(x_14, x_18);
lean_dec(x_14);
x_26 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_26, 0, x_21);
lean_ctor_set(x_26, 1, x_25);
lean_ctor_set(x_6, 0, x_26);
x_27 = l_Except_orElseLazy___rarg(x_6, x_7);
return x_27;
}
}
else
{
lean_object* x_28; 
x_28 = lean_array_fget(x_14, x_16);
if (x_19 == 0)
{
lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; 
lean_dec(x_14);
x_29 = l_Lean_instInhabitedJson;
x_30 = l_outOfBounds___rarg(x_29);
x_31 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_31, 0, x_28);
lean_ctor_set(x_31, 1, x_30);
lean_ctor_set(x_6, 0, x_31);
x_32 = l_Except_orElseLazy___rarg(x_6, x_7);
return x_32;
}
else
{
lean_object* x_33; lean_object* x_34; lean_object* x_35; 
x_33 = lean_array_fget(x_14, x_18);
lean_dec(x_14);
x_34 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_34, 0, x_28);
lean_ctor_set(x_34, 1, x_33);
lean_ctor_set(x_6, 0, x_34);
x_35 = l_Except_orElseLazy___rarg(x_6, x_7);
return x_35;
}
}
}
else
{
lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; lean_object* x_40; uint8_t x_41; 
x_36 = lean_ctor_get(x_6, 0);
lean_inc(x_36);
lean_dec(x_6);
x_37 = lean_array_get_size(x_36);
x_38 = lean_unsigned_to_nat(0u);
x_39 = lean_nat_dec_lt(x_38, x_37);
x_40 = lean_unsigned_to_nat(1u);
x_41 = lean_nat_dec_lt(x_40, x_37);
lean_dec(x_37);
if (x_39 == 0)
{
lean_object* x_42; lean_object* x_43; 
x_42 = l_Lean_instInhabitedJson;
x_43 = l_outOfBounds___rarg(x_42);
if (x_41 == 0)
{
lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; 
lean_dec(x_36);
x_44 = l_outOfBounds___rarg(x_42);
x_45 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_45, 0, x_43);
lean_ctor_set(x_45, 1, x_44);
x_46 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_46, 0, x_45);
x_47 = l_Except_orElseLazy___rarg(x_46, x_7);
return x_47;
}
else
{
lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; 
x_48 = lean_array_fget(x_36, x_40);
lean_dec(x_36);
x_49 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_49, 0, x_43);
lean_ctor_set(x_49, 1, x_48);
x_50 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_50, 0, x_49);
x_51 = l_Except_orElseLazy___rarg(x_50, x_7);
return x_51;
}
}
else
{
lean_object* x_52; 
x_52 = lean_array_fget(x_36, x_38);
if (x_41 == 0)
{
lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; 
lean_dec(x_36);
x_53 = l_Lean_instInhabitedJson;
x_54 = l_outOfBounds___rarg(x_53);
x_55 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_55, 0, x_52);
lean_ctor_set(x_55, 1, x_54);
x_56 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_56, 0, x_55);
x_57 = l_Except_orElseLazy___rarg(x_56, x_7);
return x_57;
}
else
{
lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; 
x_58 = lean_array_fget(x_36, x_40);
lean_dec(x_36);
x_59 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_59, 0, x_52);
lean_ctor_set(x_59, 1, x_58);
x_60 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_60, 0, x_59);
x_61 = l_Except_orElseLazy___rarg(x_60, x_7);
return x_61;
}
}
}
}
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__3___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("expr", 4, 4);
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_4 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__3___closed__1;
x_5 = lean_unsigned_to_nat(1u);
lean_inc(x_1);
x_6 = l_Lean_Json_parseTagged(x_1, x_4, x_5, x_2);
x_7 = lean_alloc_closure((void*)(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___boxed), 2, 1);
lean_closure_set(x_7, 0, x_1);
if (lean_obj_tag(x_6) == 0)
{
uint8_t x_8; 
x_8 = !lean_is_exclusive(x_6);
if (x_8 == 0)
{
lean_object* x_9; 
x_9 = l_Except_orElseLazy___rarg(x_6, x_7);
return x_9;
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_10 = lean_ctor_get(x_6, 0);
lean_inc(x_10);
lean_dec(x_6);
x_11 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_11, 0, x_10);
x_12 = l_Except_orElseLazy___rarg(x_11, x_7);
return x_12;
}
}
else
{
uint8_t x_13; 
x_13 = !lean_is_exclusive(x_6);
if (x_13 == 0)
{
lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; 
x_14 = lean_ctor_get(x_6, 0);
x_15 = lean_array_get_size(x_14);
x_16 = lean_unsigned_to_nat(0u);
x_17 = lean_nat_dec_lt(x_16, x_15);
lean_dec(x_15);
if (x_17 == 0)
{
lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; 
lean_dec(x_14);
x_18 = l_Lean_instInhabitedJson;
x_19 = l_outOfBounds___rarg(x_18);
x_20 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_20, 0, x_19);
lean_ctor_set(x_6, 0, x_20);
x_21 = l_Except_orElseLazy___rarg(x_6, x_7);
return x_21;
}
else
{
lean_object* x_22; lean_object* x_23; lean_object* x_24; 
x_22 = lean_array_fget(x_14, x_16);
lean_dec(x_14);
x_23 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_23, 0, x_22);
lean_ctor_set(x_6, 0, x_23);
x_24 = l_Except_orElseLazy___rarg(x_6, x_7);
return x_24;
}
}
else
{
lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; 
x_25 = lean_ctor_get(x_6, 0);
lean_inc(x_25);
lean_dec(x_6);
x_26 = lean_array_get_size(x_25);
x_27 = lean_unsigned_to_nat(0u);
x_28 = lean_nat_dec_lt(x_27, x_26);
lean_dec(x_26);
if (x_28 == 0)
{
lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; 
lean_dec(x_25);
x_29 = l_Lean_instInhabitedJson;
x_30 = l_outOfBounds___rarg(x_29);
x_31 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_31, 0, x_30);
x_32 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_32, 0, x_31);
x_33 = l_Except_orElseLazy___rarg(x_32, x_7);
return x_33;
}
else
{
lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; 
x_34 = lean_array_fget(x_25, x_27);
lean_dec(x_25);
x_35 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_35, 0, x_34);
x_36 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_36, 0, x_35);
x_37 = l_Except_orElseLazy___rarg(x_36, x_7);
return x_37;
}
}
}
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("goal", 4, 4);
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761_(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; 
x_2 = lean_box(0);
x_3 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____closed__1;
x_4 = lean_unsigned_to_nat(1u);
lean_inc(x_1);
x_5 = l_Lean_Json_parseTagged(x_1, x_3, x_4, x_2);
x_6 = lean_alloc_closure((void*)(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__3___boxed), 3, 2);
lean_closure_set(x_6, 0, x_1);
lean_closure_set(x_6, 1, x_2);
if (lean_obj_tag(x_5) == 0)
{
uint8_t x_7; 
x_7 = !lean_is_exclusive(x_5);
if (x_7 == 0)
{
lean_object* x_8; 
x_8 = l_Except_orElseLazy___rarg(x_5, x_6);
return x_8;
}
else
{
lean_object* x_9; lean_object* x_10; lean_object* x_11; 
x_9 = lean_ctor_get(x_5, 0);
lean_inc(x_9);
lean_dec(x_5);
x_10 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_10, 0, x_9);
x_11 = l_Except_orElseLazy___rarg(x_10, x_6);
return x_11;
}
}
else
{
uint8_t x_12; 
x_12 = !lean_is_exclusive(x_5);
if (x_12 == 0)
{
lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; 
x_13 = lean_ctor_get(x_5, 0);
x_14 = lean_array_get_size(x_13);
x_15 = lean_unsigned_to_nat(0u);
x_16 = lean_nat_dec_lt(x_15, x_14);
lean_dec(x_14);
if (x_16 == 0)
{
lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; 
lean_dec(x_13);
x_17 = l_Lean_instInhabitedJson;
x_18 = l_outOfBounds___rarg(x_17);
x_19 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_19, 0, x_18);
lean_ctor_set(x_5, 0, x_19);
x_20 = l_Except_orElseLazy___rarg(x_5, x_6);
return x_20;
}
else
{
lean_object* x_21; lean_object* x_22; lean_object* x_23; 
x_21 = lean_array_fget(x_13, x_15);
lean_dec(x_13);
x_22 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_22, 0, x_21);
lean_ctor_set(x_5, 0, x_22);
x_23 = l_Except_orElseLazy___rarg(x_5, x_6);
return x_23;
}
}
else
{
lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; 
x_24 = lean_ctor_get(x_5, 0);
lean_inc(x_24);
lean_dec(x_5);
x_25 = lean_array_get_size(x_24);
x_26 = lean_unsigned_to_nat(0u);
x_27 = lean_nat_dec_lt(x_26, x_25);
lean_dec(x_25);
if (x_27 == 0)
{
lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; 
lean_dec(x_24);
x_28 = l_Lean_instInhabitedJson;
x_29 = l_outOfBounds___rarg(x_28);
x_30 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_30, 0, x_29);
x_31 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_31, 0, x_30);
x_32 = l_Except_orElseLazy___rarg(x_31, x_6);
return x_32;
}
else
{
lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; 
x_33 = lean_array_fget(x_24, x_26);
lean_dec(x_24);
x_34 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_34, 0, x_33);
x_35 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_35, 0, x_34);
x_36 = l_Except_orElseLazy___rarg(x_35, x_6);
return x_36;
}
}
}
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1(x_1, x_2);
lean_dec(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2(x_1, x_2);
lean_dec(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__3(x_1, x_2, x_3);
lean_dec(x_3);
lean_dec(x_2);
return x_4;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Widget_MsgEmbed_instFromJsonRpcEncodablePacket___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761_), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Widget_MsgEmbed_instFromJsonRpcEncodablePacket() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Widget_Lean_Widget_MsgEmbed_instFromJsonRpcEncodablePacket___closed__1;
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1104_(lean_object* x_1) {
_start:
{
switch (lean_obj_tag(x_1)) {
case 0:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_2 = lean_ctor_get(x_1, 0);
lean_inc(x_2);
lean_dec(x_1);
x_3 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__3___closed__1;
x_4 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
x_5 = lean_box(0);
x_6 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_6, 0, x_4);
lean_ctor_set(x_6, 1, x_5);
x_7 = l_Lean_Json_mkObj(x_6);
return x_7;
}
case 1:
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; 
x_8 = lean_ctor_get(x_1, 0);
lean_inc(x_8);
lean_dec(x_1);
x_9 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____closed__1;
x_10 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_10, 0, x_9);
lean_ctor_set(x_10, 1, x_8);
x_11 = lean_box(0);
x_12 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_12, 0, x_10);
lean_ctor_set(x_12, 1, x_11);
x_13 = l_Lean_Json_mkObj(x_12);
return x_13;
}
case 2:
{
uint8_t x_14; 
x_14 = !lean_is_exclusive(x_1);
if (x_14 == 0)
{
lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; 
x_15 = lean_ctor_get(x_1, 0);
x_16 = lean_ctor_get(x_1, 1);
x_17 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__1;
lean_ctor_set_tag(x_1, 0);
lean_ctor_set(x_1, 1, x_15);
lean_ctor_set(x_1, 0, x_17);
x_18 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__3;
x_19 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_19, 0, x_18);
lean_ctor_set(x_19, 1, x_16);
x_20 = lean_box(0);
x_21 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_21, 0, x_19);
lean_ctor_set(x_21, 1, x_20);
x_22 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_22, 0, x_1);
lean_ctor_set(x_22, 1, x_21);
x_23 = l_Lean_Json_mkObj(x_22);
x_24 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__9;
x_25 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_25, 0, x_24);
lean_ctor_set(x_25, 1, x_23);
x_26 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_26, 0, x_25);
lean_ctor_set(x_26, 1, x_20);
x_27 = l_Lean_Json_mkObj(x_26);
return x_27;
}
else
{
lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; 
x_28 = lean_ctor_get(x_1, 0);
x_29 = lean_ctor_get(x_1, 1);
lean_inc(x_29);
lean_inc(x_28);
lean_dec(x_1);
x_30 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__1;
x_31 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_31, 0, x_30);
lean_ctor_set(x_31, 1, x_28);
x_32 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__3;
x_33 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_33, 0, x_32);
lean_ctor_set(x_33, 1, x_29);
x_34 = lean_box(0);
x_35 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_35, 0, x_33);
lean_ctor_set(x_35, 1, x_34);
x_36 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_36, 0, x_31);
lean_ctor_set(x_36, 1, x_35);
x_37 = l_Lean_Json_mkObj(x_36);
x_38 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__9;
x_39 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_39, 0, x_38);
lean_ctor_set(x_39, 1, x_37);
x_40 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_40, 0, x_39);
lean_ctor_set(x_40, 1, x_34);
x_41 = l_Lean_Json_mkObj(x_40);
return x_41;
}
}
default: 
{
lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; 
x_42 = lean_ctor_get(x_1, 0);
lean_inc(x_42);
x_43 = lean_ctor_get(x_1, 1);
lean_inc(x_43);
x_44 = lean_ctor_get(x_1, 2);
lean_inc(x_44);
x_45 = lean_ctor_get(x_1, 3);
lean_inc(x_45);
x_46 = lean_ctor_get(x_1, 4);
lean_inc(x_46);
lean_dec(x_1);
x_47 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__1;
x_48 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_48, 0, x_47);
lean_ctor_set(x_48, 1, x_42);
x_49 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__3;
x_50 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_50, 0, x_49);
lean_ctor_set(x_50, 1, x_43);
x_51 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__5;
x_52 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_52, 0, x_51);
lean_ctor_set(x_52, 1, x_44);
x_53 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__7;
x_54 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_54, 0, x_53);
lean_ctor_set(x_54, 1, x_45);
x_55 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__9;
x_56 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_56, 0, x_55);
lean_ctor_set(x_56, 1, x_46);
x_57 = lean_box(0);
x_58 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_58, 0, x_56);
lean_ctor_set(x_58, 1, x_57);
x_59 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_59, 0, x_54);
lean_ctor_set(x_59, 1, x_58);
x_60 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_60, 0, x_52);
lean_ctor_set(x_60, 1, x_59);
x_61 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_61, 0, x_50);
lean_ctor_set(x_61, 1, x_60);
x_62 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_62, 0, x_48);
lean_ctor_set(x_62, 1, x_61);
x_63 = l_Lean_Json_mkObj(x_62);
x_64 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__18;
x_65 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_65, 0, x_64);
lean_ctor_set(x_65, 1, x_63);
x_66 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_66, 0, x_65);
lean_ctor_set(x_66, 1, x_57);
x_67 = l_Lean_Json_mkObj(x_66);
return x_67;
}
}
}
}
static lean_object* _init_l_Lean_Widget_Lean_Widget_MsgEmbed_instToJsonRpcEncodablePacket___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1104_), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Widget_MsgEmbed_instToJsonRpcEncodablePacket() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Widget_Lean_Widget_MsgEmbed_instToJsonRpcEncodablePacket___closed__1;
return x_1;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
uint8_t x_6; 
x_6 = lean_usize_dec_lt(x_3, x_2);
if (x_6 == 0)
{
lean_object* x_7; 
lean_dec(x_1);
x_7 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_7, 0, x_4);
lean_ctor_set(x_7, 1, x_5);
return x_7;
}
else
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; size_t x_14; size_t x_15; lean_object* x_16; 
x_8 = lean_array_uget(x_4, x_3);
x_9 = lean_unsigned_to_nat(0u);
x_10 = lean_array_uset(x_4, x_3, x_9);
lean_inc(x_1);
x_11 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__1(x_1, x_8, x_5);
x_12 = lean_ctor_get(x_11, 0);
lean_inc(x_12);
x_13 = lean_ctor_get(x_11, 1);
lean_inc(x_13);
lean_dec(x_11);
x_14 = 1;
x_15 = lean_usize_add(x_3, x_14);
x_16 = lean_array_uset(x_10, x_3, x_12);
x_3 = x_15;
x_4 = x_16;
x_5 = x_13;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
switch (lean_obj_tag(x_2)) {
case 0:
{
uint8_t x_4; 
lean_dec(x_1);
x_4 = !lean_is_exclusive(x_2);
if (x_4 == 0)
{
lean_object* x_5; 
x_5 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_5, 0, x_2);
lean_ctor_set(x_5, 1, x_3);
return x_5;
}
else
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; 
x_6 = lean_ctor_get(x_2, 0);
lean_inc(x_6);
lean_dec(x_2);
x_7 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_7, 0, x_6);
x_8 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_8, 0, x_7);
lean_ctor_set(x_8, 1, x_3);
return x_8;
}
}
case 1:
{
uint8_t x_9; 
x_9 = !lean_is_exclusive(x_2);
if (x_9 == 0)
{
lean_object* x_10; lean_object* x_11; size_t x_12; size_t x_13; lean_object* x_14; uint8_t x_15; 
x_10 = lean_ctor_get(x_2, 0);
x_11 = lean_array_get_size(x_10);
x_12 = lean_usize_of_nat(x_11);
lean_dec(x_11);
x_13 = 0;
x_14 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__2(x_1, x_12, x_13, x_10, x_3);
x_15 = !lean_is_exclusive(x_14);
if (x_15 == 0)
{
lean_object* x_16; 
x_16 = lean_ctor_get(x_14, 0);
lean_ctor_set(x_2, 0, x_16);
lean_ctor_set(x_14, 0, x_2);
return x_14;
}
else
{
lean_object* x_17; lean_object* x_18; lean_object* x_19; 
x_17 = lean_ctor_get(x_14, 0);
x_18 = lean_ctor_get(x_14, 1);
lean_inc(x_18);
lean_inc(x_17);
lean_dec(x_14);
lean_ctor_set(x_2, 0, x_17);
x_19 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_19, 0, x_2);
lean_ctor_set(x_19, 1, x_18);
return x_19;
}
}
else
{
lean_object* x_20; lean_object* x_21; size_t x_22; size_t x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; 
x_20 = lean_ctor_get(x_2, 0);
lean_inc(x_20);
lean_dec(x_2);
x_21 = lean_array_get_size(x_20);
x_22 = lean_usize_of_nat(x_21);
lean_dec(x_21);
x_23 = 0;
x_24 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__2(x_1, x_22, x_23, x_20, x_3);
x_25 = lean_ctor_get(x_24, 0);
lean_inc(x_25);
x_26 = lean_ctor_get(x_24, 1);
lean_inc(x_26);
if (lean_is_exclusive(x_24)) {
 lean_ctor_release(x_24, 0);
 lean_ctor_release(x_24, 1);
 x_27 = x_24;
} else {
 lean_dec_ref(x_24);
 x_27 = lean_box(0);
}
x_28 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_28, 0, x_25);
if (lean_is_scalar(x_27)) {
 x_29 = lean_alloc_ctor(0, 2, 0);
} else {
 x_29 = x_27;
}
lean_ctor_set(x_29, 0, x_28);
lean_ctor_set(x_29, 1, x_26);
return x_29;
}
}
default: 
{
uint8_t x_30; 
x_30 = !lean_is_exclusive(x_2);
if (x_30 == 0)
{
lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; 
x_31 = lean_ctor_get(x_2, 0);
x_32 = lean_ctor_get(x_2, 1);
lean_inc(x_1);
x_33 = lean_apply_2(x_1, x_31, x_3);
x_34 = lean_ctor_get(x_33, 0);
lean_inc(x_34);
x_35 = lean_ctor_get(x_33, 1);
lean_inc(x_35);
lean_dec(x_33);
x_36 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__1(x_1, x_32, x_35);
x_37 = !lean_is_exclusive(x_36);
if (x_37 == 0)
{
lean_object* x_38; 
x_38 = lean_ctor_get(x_36, 0);
lean_ctor_set(x_2, 1, x_38);
lean_ctor_set(x_2, 0, x_34);
lean_ctor_set(x_36, 0, x_2);
return x_36;
}
else
{
lean_object* x_39; lean_object* x_40; lean_object* x_41; 
x_39 = lean_ctor_get(x_36, 0);
x_40 = lean_ctor_get(x_36, 1);
lean_inc(x_40);
lean_inc(x_39);
lean_dec(x_36);
lean_ctor_set(x_2, 1, x_39);
lean_ctor_set(x_2, 0, x_34);
x_41 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_41, 0, x_2);
lean_ctor_set(x_41, 1, x_40);
return x_41;
}
}
else
{
lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; 
x_42 = lean_ctor_get(x_2, 0);
x_43 = lean_ctor_get(x_2, 1);
lean_inc(x_43);
lean_inc(x_42);
lean_dec(x_2);
lean_inc(x_1);
x_44 = lean_apply_2(x_1, x_42, x_3);
x_45 = lean_ctor_get(x_44, 0);
lean_inc(x_45);
x_46 = lean_ctor_get(x_44, 1);
lean_inc(x_46);
lean_dec(x_44);
x_47 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__1(x_1, x_43, x_46);
x_48 = lean_ctor_get(x_47, 0);
lean_inc(x_48);
x_49 = lean_ctor_get(x_47, 1);
lean_inc(x_49);
if (lean_is_exclusive(x_47)) {
 lean_ctor_release(x_47, 0);
 lean_ctor_release(x_47, 1);
 x_50 = x_47;
} else {
 lean_dec_ref(x_47);
 x_50 = lean_box(0);
}
x_51 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_51, 0, x_45);
lean_ctor_set(x_51, 1, x_48);
if (lean_is_scalar(x_50)) {
 x_52 = lean_alloc_ctor(0, 2, 0);
} else {
 x_52 = x_50;
}
lean_ctor_set(x_52, 0, x_51);
lean_ctor_set(x_52, 1, x_49);
return x_52;
}
}
}
}
}
static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_563_), 2, 0);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
uint8_t x_5; 
x_5 = lean_usize_dec_lt(x_2, x_1);
if (x_5 == 0)
{
lean_object* x_6; 
x_6 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_6, 0, x_3);
lean_ctor_set(x_6, 1, x_4);
return x_6;
}
else
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; 
x_7 = lean_array_uget(x_3, x_2);
x_8 = lean_unsigned_to_nat(0u);
x_9 = lean_array_uset(x_3, x_2, x_8);
x_10 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_11 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__1(x_10, x_7, x_4);
x_12 = lean_ctor_get(x_11, 0);
lean_inc(x_12);
x_13 = lean_ctor_get(x_11, 1);
lean_inc(x_13);
lean_dec(x_11);
x_14 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_623____at_Lean_Widget_TaggedText_instRpcEncodable___spec__3(x_12);
x_15 = 1;
x_16 = lean_usize_add(x_2, x_15);
x_17 = lean_array_uset(x_9, x_2, x_14);
x_2 = x_16;
x_3 = x_17;
x_4 = x_13;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__3(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
uint8_t x_3; 
x_3 = !lean_is_exclusive(x_1);
if (x_3 == 0)
{
lean_object* x_4; lean_object* x_5; size_t x_6; size_t x_7; lean_object* x_8; uint8_t x_9; 
x_4 = lean_ctor_get(x_1, 0);
x_5 = lean_array_get_size(x_4);
x_6 = lean_usize_of_nat(x_5);
lean_dec(x_5);
x_7 = 0;
x_8 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4(x_6, x_7, x_4, x_2);
x_9 = !lean_is_exclusive(x_8);
if (x_9 == 0)
{
lean_object* x_10; lean_object* x_11; size_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; 
x_10 = lean_ctor_get(x_8, 0);
x_11 = lean_array_get_size(x_10);
x_12 = lean_usize_of_nat(x_11);
lean_dec(x_11);
x_13 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1606____spec__2(x_12, x_7, x_10);
lean_ctor_set_tag(x_1, 4);
lean_ctor_set(x_1, 0, x_13);
x_14 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_14, 0, x_1);
x_15 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_206_(x_14);
lean_dec(x_14);
lean_ctor_set(x_8, 0, x_15);
return x_8;
}
else
{
lean_object* x_16; lean_object* x_17; lean_object* x_18; size_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; 
x_16 = lean_ctor_get(x_8, 0);
x_17 = lean_ctor_get(x_8, 1);
lean_inc(x_17);
lean_inc(x_16);
lean_dec(x_8);
x_18 = lean_array_get_size(x_16);
x_19 = lean_usize_of_nat(x_18);
lean_dec(x_18);
x_20 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1606____spec__2(x_19, x_7, x_16);
lean_ctor_set_tag(x_1, 4);
lean_ctor_set(x_1, 0, x_20);
x_21 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_21, 0, x_1);
x_22 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_206_(x_21);
lean_dec(x_21);
x_23 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_23, 0, x_22);
lean_ctor_set(x_23, 1, x_17);
return x_23;
}
}
else
{
lean_object* x_24; lean_object* x_25; size_t x_26; size_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; size_t x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; 
x_24 = lean_ctor_get(x_1, 0);
lean_inc(x_24);
lean_dec(x_1);
x_25 = lean_array_get_size(x_24);
x_26 = lean_usize_of_nat(x_25);
lean_dec(x_25);
x_27 = 0;
x_28 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4(x_26, x_27, x_24, x_2);
x_29 = lean_ctor_get(x_28, 0);
lean_inc(x_29);
x_30 = lean_ctor_get(x_28, 1);
lean_inc(x_30);
if (lean_is_exclusive(x_28)) {
 lean_ctor_release(x_28, 0);
 lean_ctor_release(x_28, 1);
 x_31 = x_28;
} else {
 lean_dec_ref(x_28);
 x_31 = lean_box(0);
}
x_32 = lean_array_get_size(x_29);
x_33 = lean_usize_of_nat(x_32);
lean_dec(x_32);
x_34 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1606____spec__2(x_33, x_27, x_29);
x_35 = lean_alloc_ctor(4, 1, 0);
lean_ctor_set(x_35, 0, x_34);
x_36 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_36, 0, x_35);
x_37 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_206_(x_36);
lean_dec(x_36);
if (lean_is_scalar(x_31)) {
 x_38 = lean_alloc_ctor(0, 2, 0);
} else {
 x_38 = x_31;
}
lean_ctor_set(x_38, 0, x_37);
lean_ctor_set(x_38, 1, x_30);
return x_38;
}
}
else
{
uint8_t x_39; 
x_39 = !lean_is_exclusive(x_1);
if (x_39 == 0)
{
lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; 
x_40 = lean_ctor_get(x_1, 0);
x_41 = l_Lean_Widget_instTypeNameLazyTraceChildren;
x_42 = l_Lean_Server_instRpcEncodableWithRpcRefOfTypeName_rpcEncode___rarg(x_41, x_40, x_2);
x_43 = !lean_is_exclusive(x_42);
if (x_43 == 0)
{
lean_object* x_44; lean_object* x_45; 
x_44 = lean_ctor_get(x_42, 0);
lean_ctor_set(x_1, 0, x_44);
x_45 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_206_(x_1);
lean_dec(x_1);
lean_ctor_set(x_42, 0, x_45);
return x_42;
}
else
{
lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; 
x_46 = lean_ctor_get(x_42, 0);
x_47 = lean_ctor_get(x_42, 1);
lean_inc(x_47);
lean_inc(x_46);
lean_dec(x_42);
lean_ctor_set(x_1, 0, x_46);
x_48 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_206_(x_1);
lean_dec(x_1);
x_49 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_49, 0, x_48);
lean_ctor_set(x_49, 1, x_47);
return x_49;
}
}
else
{
lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; 
x_50 = lean_ctor_get(x_1, 0);
lean_inc(x_50);
lean_dec(x_1);
x_51 = l_Lean_Widget_instTypeNameLazyTraceChildren;
x_52 = l_Lean_Server_instRpcEncodableWithRpcRefOfTypeName_rpcEncode___rarg(x_51, x_50, x_2);
x_53 = lean_ctor_get(x_52, 0);
lean_inc(x_53);
x_54 = lean_ctor_get(x_52, 1);
lean_inc(x_54);
if (lean_is_exclusive(x_52)) {
 lean_ctor_release(x_52, 0);
 lean_ctor_release(x_52, 1);
 x_55 = x_52;
} else {
 lean_dec_ref(x_52);
 x_55 = lean_box(0);
}
x_56 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_56, 0, x_53);
x_57 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_206_(x_56);
lean_dec(x_56);
if (lean_is_scalar(x_55)) {
 x_58 = lean_alloc_ctor(0, 2, 0);
} else {
 x_58 = x_55;
}
lean_ctor_set(x_58, 0, x_57);
lean_ctor_set(x_58, 1, x_54);
return x_58;
}
}
}
}
static lean_object* _init_l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Widget_Lean_Widget_SubexprInfo_instRpcEncodableSubexprInfo_enc____x40_Lean_Widget_InteractiveCode___hyg_283_), 2, 0);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_563_(lean_object* x_1, lean_object* x_2) {
_start:
{
switch (lean_obj_tag(x_1)) {
case 0:
{
uint8_t x_3; 
x_3 = !lean_is_exclusive(x_1);
if (x_3 == 0)
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; 
x_4 = lean_ctor_get(x_1, 0);
x_5 = l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____closed__1;
x_6 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_enc____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__3(x_5, x_4, x_2);
x_7 = !lean_is_exclusive(x_6);
if (x_7 == 0)
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; 
x_8 = lean_ctor_get(x_6, 0);
x_9 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_623____at_Lean_Widget_TaggedText_instRpcEncodable___spec__3(x_8);
lean_ctor_set(x_1, 0, x_9);
x_10 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1104_(x_1);
lean_ctor_set(x_6, 0, x_10);
return x_6;
}
else
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; 
x_11 = lean_ctor_get(x_6, 0);
x_12 = lean_ctor_get(x_6, 1);
lean_inc(x_12);
lean_inc(x_11);
lean_dec(x_6);
x_13 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_623____at_Lean_Widget_TaggedText_instRpcEncodable___spec__3(x_11);
lean_ctor_set(x_1, 0, x_13);
x_14 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1104_(x_1);
x_15 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_15, 0, x_14);
lean_ctor_set(x_15, 1, x_12);
return x_15;
}
}
else
{
lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; 
x_16 = lean_ctor_get(x_1, 0);
lean_inc(x_16);
lean_dec(x_1);
x_17 = l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____closed__1;
x_18 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_enc____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__3(x_17, x_16, x_2);
x_19 = lean_ctor_get(x_18, 0);
lean_inc(x_19);
x_20 = lean_ctor_get(x_18, 1);
lean_inc(x_20);
if (lean_is_exclusive(x_18)) {
 lean_ctor_release(x_18, 0);
 lean_ctor_release(x_18, 1);
 x_21 = x_18;
} else {
 lean_dec_ref(x_18);
 x_21 = lean_box(0);
}
x_22 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_623____at_Lean_Widget_TaggedText_instRpcEncodable___spec__3(x_19);
x_23 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_23, 0, x_22);
x_24 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1104_(x_23);
if (lean_is_scalar(x_21)) {
 x_25 = lean_alloc_ctor(0, 2, 0);
} else {
 x_25 = x_21;
}
lean_ctor_set(x_25, 0, x_24);
lean_ctor_set(x_25, 1, x_20);
return x_25;
}
}
case 1:
{
uint8_t x_26; 
x_26 = !lean_is_exclusive(x_1);
if (x_26 == 0)
{
lean_object* x_27; lean_object* x_28; uint8_t x_29; 
x_27 = lean_ctor_get(x_1, 0);
x_28 = l_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal_enc____x40_Lean_Widget_InteractiveGoal___hyg_1205_(x_27, x_2);
x_29 = !lean_is_exclusive(x_28);
if (x_29 == 0)
{
lean_object* x_30; lean_object* x_31; 
x_30 = lean_ctor_get(x_28, 0);
lean_ctor_set(x_1, 0, x_30);
x_31 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1104_(x_1);
lean_ctor_set(x_28, 0, x_31);
return x_28;
}
else
{
lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; 
x_32 = lean_ctor_get(x_28, 0);
x_33 = lean_ctor_get(x_28, 1);
lean_inc(x_33);
lean_inc(x_32);
lean_dec(x_28);
lean_ctor_set(x_1, 0, x_32);
x_34 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1104_(x_1);
x_35 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_35, 0, x_34);
lean_ctor_set(x_35, 1, x_33);
return x_35;
}
}
else
{
lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; 
x_36 = lean_ctor_get(x_1, 0);
lean_inc(x_36);
lean_dec(x_1);
x_37 = l_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal_enc____x40_Lean_Widget_InteractiveGoal___hyg_1205_(x_36, x_2);
x_38 = lean_ctor_get(x_37, 0);
lean_inc(x_38);
x_39 = lean_ctor_get(x_37, 1);
lean_inc(x_39);
if (lean_is_exclusive(x_37)) {
 lean_ctor_release(x_37, 0);
 lean_ctor_release(x_37, 1);
 x_40 = x_37;
} else {
 lean_dec_ref(x_37);
 x_40 = lean_box(0);
}
x_41 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_41, 0, x_38);
x_42 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1104_(x_41);
if (lean_is_scalar(x_40)) {
 x_43 = lean_alloc_ctor(0, 2, 0);
} else {
 x_43 = x_40;
}
lean_ctor_set(x_43, 0, x_42);
lean_ctor_set(x_43, 1, x_39);
return x_43;
}
}
case 2:
{
lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; 
x_44 = lean_ctor_get(x_1, 0);
lean_inc(x_44);
x_45 = lean_ctor_get(x_1, 1);
lean_inc(x_45);
lean_dec(x_1);
x_46 = l_Lean_Widget_Lean_Widget_WidgetInstance_instRpcEncodableWidgetInstance_enc____x40_Lean_Widget_Types___hyg_3_(x_44, x_2);
x_47 = !lean_is_exclusive(x_46);
if (x_47 == 0)
{
lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; 
x_48 = lean_ctor_get(x_46, 1);
x_49 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_50 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__1(x_49, x_45, x_48);
x_51 = !lean_is_exclusive(x_50);
if (x_51 == 0)
{
lean_object* x_52; lean_object* x_53; lean_object* x_54; 
x_52 = lean_ctor_get(x_50, 0);
x_53 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_623____at_Lean_Widget_TaggedText_instRpcEncodable___spec__3(x_52);
lean_ctor_set_tag(x_46, 2);
lean_ctor_set(x_46, 1, x_53);
x_54 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1104_(x_46);
lean_ctor_set(x_50, 0, x_54);
return x_50;
}
else
{
lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; 
x_55 = lean_ctor_get(x_50, 0);
x_56 = lean_ctor_get(x_50, 1);
lean_inc(x_56);
lean_inc(x_55);
lean_dec(x_50);
x_57 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_623____at_Lean_Widget_TaggedText_instRpcEncodable___spec__3(x_55);
lean_ctor_set_tag(x_46, 2);
lean_ctor_set(x_46, 1, x_57);
x_58 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1104_(x_46);
x_59 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_59, 0, x_58);
lean_ctor_set(x_59, 1, x_56);
return x_59;
}
}
else
{
lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; 
x_60 = lean_ctor_get(x_46, 0);
x_61 = lean_ctor_get(x_46, 1);
lean_inc(x_61);
lean_inc(x_60);
lean_dec(x_46);
x_62 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_63 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__1(x_62, x_45, x_61);
x_64 = lean_ctor_get(x_63, 0);
lean_inc(x_64);
x_65 = lean_ctor_get(x_63, 1);
lean_inc(x_65);
if (lean_is_exclusive(x_63)) {
 lean_ctor_release(x_63, 0);
 lean_ctor_release(x_63, 1);
 x_66 = x_63;
} else {
 lean_dec_ref(x_63);
 x_66 = lean_box(0);
}
x_67 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_623____at_Lean_Widget_TaggedText_instRpcEncodable___spec__3(x_64);
x_68 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_68, 0, x_60);
lean_ctor_set(x_68, 1, x_67);
x_69 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1104_(x_68);
if (lean_is_scalar(x_66)) {
 x_70 = lean_alloc_ctor(0, 2, 0);
} else {
 x_70 = x_66;
}
lean_ctor_set(x_70, 0, x_69);
lean_ctor_set(x_70, 1, x_65);
return x_70;
}
}
default: 
{
lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; uint8_t x_88; 
x_71 = lean_ctor_get(x_1, 0);
lean_inc(x_71);
x_72 = lean_ctor_get(x_1, 1);
lean_inc(x_72);
x_73 = lean_ctor_get(x_1, 2);
lean_inc(x_73);
x_74 = lean_ctor_get_uint8(x_1, sizeof(void*)*4);
x_75 = lean_ctor_get(x_1, 3);
lean_inc(x_75);
lean_dec(x_1);
x_76 = l_Lean_JsonNumber_fromNat(x_71);
x_77 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_77, 0, x_76);
x_78 = 1;
x_79 = l_Lean_Name_toString(x_72, x_78);
x_80 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_80, 0, x_79);
x_81 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_82 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__1(x_81, x_73, x_2);
x_83 = lean_ctor_get(x_82, 0);
lean_inc(x_83);
x_84 = lean_ctor_get(x_82, 1);
lean_inc(x_84);
lean_dec(x_82);
x_85 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_623____at_Lean_Widget_TaggedText_instRpcEncodable___spec__3(x_83);
x_86 = lean_alloc_ctor(1, 0, 1);
lean_ctor_set_uint8(x_86, 0, x_74);
x_87 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__3(x_75, x_84);
x_88 = !lean_is_exclusive(x_87);
if (x_88 == 0)
{
lean_object* x_89; lean_object* x_90; lean_object* x_91; 
x_89 = lean_ctor_get(x_87, 0);
x_90 = lean_alloc_ctor(3, 5, 0);
lean_ctor_set(x_90, 0, x_77);
lean_ctor_set(x_90, 1, x_80);
lean_ctor_set(x_90, 2, x_85);
lean_ctor_set(x_90, 3, x_86);
lean_ctor_set(x_90, 4, x_89);
x_91 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1104_(x_90);
lean_ctor_set(x_87, 0, x_91);
return x_87;
}
else
{
lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; 
x_92 = lean_ctor_get(x_87, 0);
x_93 = lean_ctor_get(x_87, 1);
lean_inc(x_93);
lean_inc(x_92);
lean_dec(x_87);
x_94 = lean_alloc_ctor(3, 5, 0);
lean_ctor_set(x_94, 0, x_77);
lean_ctor_set(x_94, 1, x_80);
lean_ctor_set(x_94, 2, x_85);
lean_ctor_set(x_94, 3, x_86);
lean_ctor_set(x_94, 4, x_92);
x_95 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1104_(x_94);
x_96 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_96, 0, x_95);
lean_ctor_set(x_96, 1, x_93);
return x_96;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
uint8_t x_6; 
x_6 = lean_usize_dec_lt(x_3, x_2);
if (x_6 == 0)
{
lean_object* x_7; 
lean_dec(x_5);
lean_dec(x_1);
x_7 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_7, 0, x_4);
return x_7;
}
else
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; 
x_8 = lean_array_uget(x_4, x_3);
x_9 = lean_unsigned_to_nat(0u);
x_10 = lean_array_uset(x_4, x_3, x_9);
lean_inc(x_5);
lean_inc(x_1);
x_11 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__1(x_1, x_8, x_5);
if (lean_obj_tag(x_11) == 0)
{
uint8_t x_12; 
lean_dec(x_10);
lean_dec(x_5);
lean_dec(x_1);
x_12 = !lean_is_exclusive(x_11);
if (x_12 == 0)
{
return x_11;
}
else
{
lean_object* x_13; lean_object* x_14; 
x_13 = lean_ctor_get(x_11, 0);
lean_inc(x_13);
lean_dec(x_11);
x_14 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_14, 0, x_13);
return x_14;
}
}
else
{
lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; 
x_15 = lean_ctor_get(x_11, 0);
lean_inc(x_15);
lean_dec(x_11);
x_16 = 1;
x_17 = lean_usize_add(x_3, x_16);
x_18 = lean_array_uset(x_10, x_3, x_15);
x_3 = x_17;
x_4 = x_18;
goto _start;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
switch (lean_obj_tag(x_2)) {
case 0:
{
uint8_t x_4; 
lean_dec(x_3);
lean_dec(x_1);
x_4 = !lean_is_exclusive(x_2);
if (x_4 == 0)
{
lean_object* x_5; 
x_5 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_5, 0, x_2);
return x_5;
}
else
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; 
x_6 = lean_ctor_get(x_2, 0);
lean_inc(x_6);
lean_dec(x_2);
x_7 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_7, 0, x_6);
x_8 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_8, 0, x_7);
return x_8;
}
}
case 1:
{
uint8_t x_9; 
x_9 = !lean_is_exclusive(x_2);
if (x_9 == 0)
{
lean_object* x_10; lean_object* x_11; size_t x_12; size_t x_13; lean_object* x_14; 
x_10 = lean_ctor_get(x_2, 0);
x_11 = lean_array_get_size(x_10);
x_12 = lean_usize_of_nat(x_11);
lean_dec(x_11);
x_13 = 0;
x_14 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__2(x_1, x_12, x_13, x_10, x_3);
if (lean_obj_tag(x_14) == 0)
{
uint8_t x_15; 
lean_free_object(x_2);
x_15 = !lean_is_exclusive(x_14);
if (x_15 == 0)
{
return x_14;
}
else
{
lean_object* x_16; lean_object* x_17; 
x_16 = lean_ctor_get(x_14, 0);
lean_inc(x_16);
lean_dec(x_14);
x_17 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_17, 0, x_16);
return x_17;
}
}
else
{
uint8_t x_18; 
x_18 = !lean_is_exclusive(x_14);
if (x_18 == 0)
{
lean_object* x_19; 
x_19 = lean_ctor_get(x_14, 0);
lean_ctor_set(x_2, 0, x_19);
lean_ctor_set(x_14, 0, x_2);
return x_14;
}
else
{
lean_object* x_20; lean_object* x_21; 
x_20 = lean_ctor_get(x_14, 0);
lean_inc(x_20);
lean_dec(x_14);
lean_ctor_set(x_2, 0, x_20);
x_21 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_21, 0, x_2);
return x_21;
}
}
}
else
{
lean_object* x_22; lean_object* x_23; size_t x_24; size_t x_25; lean_object* x_26; 
x_22 = lean_ctor_get(x_2, 0);
lean_inc(x_22);
lean_dec(x_2);
x_23 = lean_array_get_size(x_22);
x_24 = lean_usize_of_nat(x_23);
lean_dec(x_23);
x_25 = 0;
x_26 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__2(x_1, x_24, x_25, x_22, x_3);
if (lean_obj_tag(x_26) == 0)
{
lean_object* x_27; lean_object* x_28; lean_object* x_29; 
x_27 = lean_ctor_get(x_26, 0);
lean_inc(x_27);
if (lean_is_exclusive(x_26)) {
 lean_ctor_release(x_26, 0);
 x_28 = x_26;
} else {
 lean_dec_ref(x_26);
 x_28 = lean_box(0);
}
if (lean_is_scalar(x_28)) {
 x_29 = lean_alloc_ctor(0, 1, 0);
} else {
 x_29 = x_28;
}
lean_ctor_set(x_29, 0, x_27);
return x_29;
}
else
{
lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; 
x_30 = lean_ctor_get(x_26, 0);
lean_inc(x_30);
if (lean_is_exclusive(x_26)) {
 lean_ctor_release(x_26, 0);
 x_31 = x_26;
} else {
 lean_dec_ref(x_26);
 x_31 = lean_box(0);
}
x_32 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_32, 0, x_30);
if (lean_is_scalar(x_31)) {
 x_33 = lean_alloc_ctor(1, 1, 0);
} else {
 x_33 = x_31;
}
lean_ctor_set(x_33, 0, x_32);
return x_33;
}
}
}
default: 
{
uint8_t x_34; 
x_34 = !lean_is_exclusive(x_2);
if (x_34 == 0)
{
lean_object* x_35; lean_object* x_36; lean_object* x_37; 
x_35 = lean_ctor_get(x_2, 0);
x_36 = lean_ctor_get(x_2, 1);
lean_inc(x_1);
lean_inc(x_3);
x_37 = lean_apply_2(x_1, x_35, x_3);
if (lean_obj_tag(x_37) == 0)
{
uint8_t x_38; 
lean_free_object(x_2);
lean_dec(x_36);
lean_dec(x_3);
lean_dec(x_1);
x_38 = !lean_is_exclusive(x_37);
if (x_38 == 0)
{
return x_37;
}
else
{
lean_object* x_39; lean_object* x_40; 
x_39 = lean_ctor_get(x_37, 0);
lean_inc(x_39);
lean_dec(x_37);
x_40 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_40, 0, x_39);
return x_40;
}
}
else
{
lean_object* x_41; lean_object* x_42; 
x_41 = lean_ctor_get(x_37, 0);
lean_inc(x_41);
lean_dec(x_37);
x_42 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__1(x_1, x_36, x_3);
if (lean_obj_tag(x_42) == 0)
{
uint8_t x_43; 
lean_dec(x_41);
lean_free_object(x_2);
x_43 = !lean_is_exclusive(x_42);
if (x_43 == 0)
{
return x_42;
}
else
{
lean_object* x_44; lean_object* x_45; 
x_44 = lean_ctor_get(x_42, 0);
lean_inc(x_44);
lean_dec(x_42);
x_45 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_45, 0, x_44);
return x_45;
}
}
else
{
uint8_t x_46; 
x_46 = !lean_is_exclusive(x_42);
if (x_46 == 0)
{
lean_object* x_47; 
x_47 = lean_ctor_get(x_42, 0);
lean_ctor_set(x_2, 1, x_47);
lean_ctor_set(x_2, 0, x_41);
lean_ctor_set(x_42, 0, x_2);
return x_42;
}
else
{
lean_object* x_48; lean_object* x_49; 
x_48 = lean_ctor_get(x_42, 0);
lean_inc(x_48);
lean_dec(x_42);
lean_ctor_set(x_2, 1, x_48);
lean_ctor_set(x_2, 0, x_41);
x_49 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_49, 0, x_2);
return x_49;
}
}
}
}
else
{
lean_object* x_50; lean_object* x_51; lean_object* x_52; 
x_50 = lean_ctor_get(x_2, 0);
x_51 = lean_ctor_get(x_2, 1);
lean_inc(x_51);
lean_inc(x_50);
lean_dec(x_2);
lean_inc(x_1);
lean_inc(x_3);
x_52 = lean_apply_2(x_1, x_50, x_3);
if (lean_obj_tag(x_52) == 0)
{
lean_object* x_53; lean_object* x_54; lean_object* x_55; 
lean_dec(x_51);
lean_dec(x_3);
lean_dec(x_1);
x_53 = lean_ctor_get(x_52, 0);
lean_inc(x_53);
if (lean_is_exclusive(x_52)) {
 lean_ctor_release(x_52, 0);
 x_54 = x_52;
} else {
 lean_dec_ref(x_52);
 x_54 = lean_box(0);
}
if (lean_is_scalar(x_54)) {
 x_55 = lean_alloc_ctor(0, 1, 0);
} else {
 x_55 = x_54;
}
lean_ctor_set(x_55, 0, x_53);
return x_55;
}
else
{
lean_object* x_56; lean_object* x_57; 
x_56 = lean_ctor_get(x_52, 0);
lean_inc(x_56);
lean_dec(x_52);
x_57 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__1(x_1, x_51, x_3);
if (lean_obj_tag(x_57) == 0)
{
lean_object* x_58; lean_object* x_59; lean_object* x_60; 
lean_dec(x_56);
x_58 = lean_ctor_get(x_57, 0);
lean_inc(x_58);
if (lean_is_exclusive(x_57)) {
 lean_ctor_release(x_57, 0);
 x_59 = x_57;
} else {
 lean_dec_ref(x_57);
 x_59 = lean_box(0);
}
if (lean_is_scalar(x_59)) {
 x_60 = lean_alloc_ctor(0, 1, 0);
} else {
 x_60 = x_59;
}
lean_ctor_set(x_60, 0, x_58);
return x_60;
}
else
{
lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; 
x_61 = lean_ctor_get(x_57, 0);
lean_inc(x_61);
if (lean_is_exclusive(x_57)) {
 lean_ctor_release(x_57, 0);
 x_62 = x_57;
} else {
 lean_dec_ref(x_57);
 x_62 = lean_box(0);
}
x_63 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_63, 0, x_56);
lean_ctor_set(x_63, 1, x_61);
if (lean_is_scalar(x_62)) {
 x_64 = lean_alloc_ctor(1, 1, 0);
} else {
 x_64 = x_62;
}
lean_ctor_set(x_64, 0, x_63);
return x_64;
}
}
}
}
}
}
}
LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__3(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
uint8_t x_3; 
x_3 = !lean_is_exclusive(x_1);
if (x_3 == 0)
{
return x_1;
}
else
{
lean_object* x_4; lean_object* x_5; 
x_4 = lean_ctor_get(x_1, 0);
lean_inc(x_4);
lean_dec(x_1);
x_5 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_5, 0, x_4);
return x_5;
}
}
else
{
uint8_t x_6; 
x_6 = !lean_is_exclusive(x_1);
if (x_6 == 0)
{
return x_1;
}
else
{
lean_object* x_7; lean_object* x_8; 
x_7 = lean_ctor_get(x_1, 0);
lean_inc(x_7);
lean_dec(x_1);
x_8 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_8, 0, x_7);
return x_8;
}
}
}
}
static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__5___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563_), 2, 0);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__5(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
uint8_t x_5; 
x_5 = lean_usize_dec_lt(x_2, x_1);
if (x_5 == 0)
{
lean_object* x_6; 
lean_dec(x_4);
x_6 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_6, 0, x_3);
return x_6;
}
else
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; 
x_7 = lean_array_uget(x_3, x_2);
x_8 = lean_unsigned_to_nat(0u);
x_9 = lean_array_uset(x_3, x_2, x_8);
x_10 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_418____at_Lean_Widget_TaggedText_instRpcEncodable___spec__5(x_7);
if (lean_obj_tag(x_10) == 0)
{
uint8_t x_11; 
lean_dec(x_9);
lean_dec(x_4);
x_11 = !lean_is_exclusive(x_10);
if (x_11 == 0)
{
return x_10;
}
else
{
lean_object* x_12; lean_object* x_13; 
x_12 = lean_ctor_get(x_10, 0);
lean_inc(x_12);
lean_dec(x_10);
x_13 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_13, 0, x_12);
return x_13;
}
}
else
{
lean_object* x_14; lean_object* x_15; lean_object* x_16; 
x_14 = lean_ctor_get(x_10, 0);
lean_inc(x_14);
lean_dec(x_10);
x_15 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__5___closed__1;
lean_inc(x_4);
x_16 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__1(x_15, x_14, x_4);
if (lean_obj_tag(x_16) == 0)
{
uint8_t x_17; 
lean_dec(x_9);
lean_dec(x_4);
x_17 = !lean_is_exclusive(x_16);
if (x_17 == 0)
{
return x_16;
}
else
{
lean_object* x_18; lean_object* x_19; 
x_18 = lean_ctor_get(x_16, 0);
lean_inc(x_18);
lean_dec(x_16);
x_19 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_19, 0, x_18);
return x_19;
}
}
else
{
lean_object* x_20; size_t x_21; size_t x_22; lean_object* x_23; 
x_20 = lean_ctor_get(x_16, 0);
lean_inc(x_20);
lean_dec(x_16);
x_21 = 1;
x_22 = lean_usize_add(x_2, x_21);
x_23 = lean_array_uset(x_9, x_2, x_20);
x_2 = x_22;
x_3 = x_23;
goto _start;
}
}
}
}
}
static lean_object* _init_l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("expected JSON array, got '", 26, 26);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("'", 1, 1);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92_(x_1);
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_4; 
lean_dec(x_2);
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
return x_3;
}
else
{
lean_object* x_5; lean_object* x_6; 
x_5 = lean_ctor_get(x_3, 0);
lean_inc(x_5);
lean_dec(x_3);
x_6 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_6, 0, x_5);
return x_6;
}
}
else
{
uint8_t x_7; 
x_7 = !lean_is_exclusive(x_3);
if (x_7 == 0)
{
lean_object* x_8; 
x_8 = lean_ctor_get(x_3, 0);
if (lean_obj_tag(x_8) == 0)
{
lean_object* x_9; 
x_9 = lean_ctor_get(x_8, 0);
lean_inc(x_9);
lean_dec(x_8);
if (lean_obj_tag(x_9) == 4)
{
lean_object* x_10; lean_object* x_11; size_t x_12; size_t x_13; lean_object* x_14; uint8_t x_15; 
lean_free_object(x_3);
x_10 = lean_ctor_get(x_9, 0);
lean_inc(x_10);
lean_dec(x_9);
x_11 = lean_array_get_size(x_10);
x_12 = lean_usize_of_nat(x_11);
lean_dec(x_11);
x_13 = 0;
x_14 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1661____spec__2(x_12, x_13, x_10);
x_15 = !lean_is_exclusive(x_14);
if (x_15 == 0)
{
lean_object* x_16; lean_object* x_17; size_t x_18; lean_object* x_19; 
x_16 = lean_ctor_get(x_14, 0);
x_17 = lean_array_get_size(x_16);
x_18 = lean_usize_of_nat(x_17);
lean_dec(x_17);
x_19 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__5(x_18, x_13, x_16, x_2);
if (lean_obj_tag(x_19) == 0)
{
uint8_t x_20; 
lean_free_object(x_14);
x_20 = !lean_is_exclusive(x_19);
if (x_20 == 0)
{
return x_19;
}
else
{
lean_object* x_21; lean_object* x_22; 
x_21 = lean_ctor_get(x_19, 0);
lean_inc(x_21);
lean_dec(x_19);
x_22 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_22, 0, x_21);
return x_22;
}
}
else
{
uint8_t x_23; 
x_23 = !lean_is_exclusive(x_19);
if (x_23 == 0)
{
lean_object* x_24; 
x_24 = lean_ctor_get(x_19, 0);
lean_ctor_set_tag(x_14, 0);
lean_ctor_set(x_14, 0, x_24);
lean_ctor_set(x_19, 0, x_14);
return x_19;
}
else
{
lean_object* x_25; lean_object* x_26; 
x_25 = lean_ctor_get(x_19, 0);
lean_inc(x_25);
lean_dec(x_19);
lean_ctor_set_tag(x_14, 0);
lean_ctor_set(x_14, 0, x_25);
x_26 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_26, 0, x_14);
return x_26;
}
}
}
else
{
lean_object* x_27; lean_object* x_28; size_t x_29; lean_object* x_30; 
x_27 = lean_ctor_get(x_14, 0);
lean_inc(x_27);
lean_dec(x_14);
x_28 = lean_array_get_size(x_27);
x_29 = lean_usize_of_nat(x_28);
lean_dec(x_28);
x_30 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__5(x_29, x_13, x_27, x_2);
if (lean_obj_tag(x_30) == 0)
{
lean_object* x_31; lean_object* x_32; lean_object* x_33; 
x_31 = lean_ctor_get(x_30, 0);
lean_inc(x_31);
if (lean_is_exclusive(x_30)) {
 lean_ctor_release(x_30, 0);
 x_32 = x_30;
} else {
 lean_dec_ref(x_30);
 x_32 = lean_box(0);
}
if (lean_is_scalar(x_32)) {
 x_33 = lean_alloc_ctor(0, 1, 0);
} else {
 x_33 = x_32;
}
lean_ctor_set(x_33, 0, x_31);
return x_33;
}
else
{
lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; 
x_34 = lean_ctor_get(x_30, 0);
lean_inc(x_34);
if (lean_is_exclusive(x_30)) {
 lean_ctor_release(x_30, 0);
 x_35 = x_30;
} else {
 lean_dec_ref(x_30);
 x_35 = lean_box(0);
}
x_36 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_36, 0, x_34);
if (lean_is_scalar(x_35)) {
 x_37 = lean_alloc_ctor(1, 1, 0);
} else {
 x_37 = x_35;
}
lean_ctor_set(x_37, 0, x_36);
return x_37;
}
}
}
else
{
lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; 
lean_dec(x_2);
x_38 = lean_unsigned_to_nat(80u);
x_39 = l_Lean_Json_pretty(x_9, x_38);
x_40 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_41 = lean_string_append(x_40, x_39);
lean_dec(x_39);
x_42 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_43 = lean_string_append(x_41, x_42);
lean_ctor_set_tag(x_3, 0);
lean_ctor_set(x_3, 0, x_43);
return x_3;
}
}
else
{
uint8_t x_44; 
lean_free_object(x_3);
x_44 = !lean_is_exclusive(x_8);
if (x_44 == 0)
{
lean_object* x_45; lean_object* x_46; lean_object* x_47; 
x_45 = lean_ctor_get(x_8, 0);
x_46 = l_Lean_Widget_instTypeNameLazyTraceChildren;
x_47 = l_Lean_Server_instRpcEncodableWithRpcRefOfTypeName_rpcDecode___rarg(x_46, x_45, x_2);
if (lean_obj_tag(x_47) == 0)
{
uint8_t x_48; 
lean_free_object(x_8);
x_48 = !lean_is_exclusive(x_47);
if (x_48 == 0)
{
return x_47;
}
else
{
lean_object* x_49; lean_object* x_50; 
x_49 = lean_ctor_get(x_47, 0);
lean_inc(x_49);
lean_dec(x_47);
x_50 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_50, 0, x_49);
return x_50;
}
}
else
{
uint8_t x_51; 
x_51 = !lean_is_exclusive(x_47);
if (x_51 == 0)
{
lean_object* x_52; 
x_52 = lean_ctor_get(x_47, 0);
lean_ctor_set(x_8, 0, x_52);
lean_ctor_set(x_47, 0, x_8);
return x_47;
}
else
{
lean_object* x_53; lean_object* x_54; 
x_53 = lean_ctor_get(x_47, 0);
lean_inc(x_53);
lean_dec(x_47);
lean_ctor_set(x_8, 0, x_53);
x_54 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_54, 0, x_8);
return x_54;
}
}
}
else
{
lean_object* x_55; lean_object* x_56; lean_object* x_57; 
x_55 = lean_ctor_get(x_8, 0);
lean_inc(x_55);
lean_dec(x_8);
x_56 = l_Lean_Widget_instTypeNameLazyTraceChildren;
x_57 = l_Lean_Server_instRpcEncodableWithRpcRefOfTypeName_rpcDecode___rarg(x_56, x_55, x_2);
if (lean_obj_tag(x_57) == 0)
{
lean_object* x_58; lean_object* x_59; lean_object* x_60; 
x_58 = lean_ctor_get(x_57, 0);
lean_inc(x_58);
if (lean_is_exclusive(x_57)) {
 lean_ctor_release(x_57, 0);
 x_59 = x_57;
} else {
 lean_dec_ref(x_57);
 x_59 = lean_box(0);
}
if (lean_is_scalar(x_59)) {
 x_60 = lean_alloc_ctor(0, 1, 0);
} else {
 x_60 = x_59;
}
lean_ctor_set(x_60, 0, x_58);
return x_60;
}
else
{
lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; 
x_61 = lean_ctor_get(x_57, 0);
lean_inc(x_61);
if (lean_is_exclusive(x_57)) {
 lean_ctor_release(x_57, 0);
 x_62 = x_57;
} else {
 lean_dec_ref(x_57);
 x_62 = lean_box(0);
}
x_63 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_63, 0, x_61);
if (lean_is_scalar(x_62)) {
 x_64 = lean_alloc_ctor(1, 1, 0);
} else {
 x_64 = x_62;
}
lean_ctor_set(x_64, 0, x_63);
return x_64;
}
}
}
}
else
{
lean_object* x_65; 
x_65 = lean_ctor_get(x_3, 0);
lean_inc(x_65);
lean_dec(x_3);
if (lean_obj_tag(x_65) == 0)
{
lean_object* x_66; 
x_66 = lean_ctor_get(x_65, 0);
lean_inc(x_66);
lean_dec(x_65);
if (lean_obj_tag(x_66) == 4)
{
lean_object* x_67; lean_object* x_68; size_t x_69; size_t x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; size_t x_75; lean_object* x_76; 
x_67 = lean_ctor_get(x_66, 0);
lean_inc(x_67);
lean_dec(x_66);
x_68 = lean_array_get_size(x_67);
x_69 = lean_usize_of_nat(x_68);
lean_dec(x_68);
x_70 = 0;
x_71 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1661____spec__2(x_69, x_70, x_67);
x_72 = lean_ctor_get(x_71, 0);
lean_inc(x_72);
if (lean_is_exclusive(x_71)) {
 lean_ctor_release(x_71, 0);
 x_73 = x_71;
} else {
 lean_dec_ref(x_71);
 x_73 = lean_box(0);
}
x_74 = lean_array_get_size(x_72);
x_75 = lean_usize_of_nat(x_74);
lean_dec(x_74);
x_76 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__5(x_75, x_70, x_72, x_2);
if (lean_obj_tag(x_76) == 0)
{
lean_object* x_77; lean_object* x_78; lean_object* x_79; 
lean_dec(x_73);
x_77 = lean_ctor_get(x_76, 0);
lean_inc(x_77);
if (lean_is_exclusive(x_76)) {
 lean_ctor_release(x_76, 0);
 x_78 = x_76;
} else {
 lean_dec_ref(x_76);
 x_78 = lean_box(0);
}
if (lean_is_scalar(x_78)) {
 x_79 = lean_alloc_ctor(0, 1, 0);
} else {
 x_79 = x_78;
}
lean_ctor_set(x_79, 0, x_77);
return x_79;
}
else
{
lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; 
x_80 = lean_ctor_get(x_76, 0);
lean_inc(x_80);
if (lean_is_exclusive(x_76)) {
 lean_ctor_release(x_76, 0);
 x_81 = x_76;
} else {
 lean_dec_ref(x_76);
 x_81 = lean_box(0);
}
if (lean_is_scalar(x_73)) {
 x_82 = lean_alloc_ctor(0, 1, 0);
} else {
 x_82 = x_73;
 lean_ctor_set_tag(x_82, 0);
}
lean_ctor_set(x_82, 0, x_80);
if (lean_is_scalar(x_81)) {
 x_83 = lean_alloc_ctor(1, 1, 0);
} else {
 x_83 = x_81;
}
lean_ctor_set(x_83, 0, x_82);
return x_83;
}
}
else
{
lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; 
lean_dec(x_2);
x_84 = lean_unsigned_to_nat(80u);
x_85 = l_Lean_Json_pretty(x_66, x_84);
x_86 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_87 = lean_string_append(x_86, x_85);
lean_dec(x_85);
x_88 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_89 = lean_string_append(x_87, x_88);
x_90 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_90, 0, x_89);
return x_90;
}
}
else
{
lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; 
x_91 = lean_ctor_get(x_65, 0);
lean_inc(x_91);
if (lean_is_exclusive(x_65)) {
 lean_ctor_release(x_65, 0);
 x_92 = x_65;
} else {
 lean_dec_ref(x_65);
 x_92 = lean_box(0);
}
x_93 = l_Lean_Widget_instTypeNameLazyTraceChildren;
x_94 = l_Lean_Server_instRpcEncodableWithRpcRefOfTypeName_rpcDecode___rarg(x_93, x_91, x_2);
if (lean_obj_tag(x_94) == 0)
{
lean_object* x_95; lean_object* x_96; lean_object* x_97; 
lean_dec(x_92);
x_95 = lean_ctor_get(x_94, 0);
lean_inc(x_95);
if (lean_is_exclusive(x_94)) {
 lean_ctor_release(x_94, 0);
 x_96 = x_94;
} else {
 lean_dec_ref(x_94);
 x_96 = lean_box(0);
}
if (lean_is_scalar(x_96)) {
 x_97 = lean_alloc_ctor(0, 1, 0);
} else {
 x_97 = x_96;
}
lean_ctor_set(x_97, 0, x_95);
return x_97;
}
else
{
lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; 
x_98 = lean_ctor_get(x_94, 0);
lean_inc(x_98);
if (lean_is_exclusive(x_94)) {
 lean_ctor_release(x_94, 0);
 x_99 = x_94;
} else {
 lean_dec_ref(x_94);
 x_99 = lean_box(0);
}
if (lean_is_scalar(x_92)) {
 x_100 = lean_alloc_ctor(1, 1, 0);
} else {
 x_100 = x_92;
}
lean_ctor_set(x_100, 0, x_98);
if (lean_is_scalar(x_99)) {
 x_101 = lean_alloc_ctor(1, 1, 0);
} else {
 x_101 = x_99;
}
lean_ctor_set(x_101, 0, x_100);
return x_101;
}
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____lambda__1(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_3, 0, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Widget_Lean_Widget_SubexprInfo_instRpcEncodableSubexprInfo_dec____x40_Lean_Widget_InteractiveCode___hyg_283_), 2, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("[anonymous]", 11, 11);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("expected a `Name`, got '", 24, 24);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_box(0);
x_2 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563_(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761_(x_1);
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_4; 
lean_dec(x_2);
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
return x_3;
}
else
{
lean_object* x_5; lean_object* x_6; 
x_5 = lean_ctor_get(x_3, 0);
lean_inc(x_5);
lean_dec(x_3);
x_6 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_6, 0, x_5);
return x_6;
}
}
else
{
lean_object* x_7; 
x_7 = lean_ctor_get(x_3, 0);
lean_inc(x_7);
lean_dec(x_3);
switch (lean_obj_tag(x_7)) {
case 0:
{
uint8_t x_8; 
x_8 = !lean_is_exclusive(x_7);
if (x_8 == 0)
{
lean_object* x_9; lean_object* x_10; 
x_9 = lean_ctor_get(x_7, 0);
x_10 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_418____at_Lean_Widget_TaggedText_instRpcEncodable___spec__5(x_9);
if (lean_obj_tag(x_10) == 0)
{
uint8_t x_11; 
lean_free_object(x_7);
lean_dec(x_2);
x_11 = !lean_is_exclusive(x_10);
if (x_11 == 0)
{
return x_10;
}
else
{
lean_object* x_12; lean_object* x_13; 
x_12 = lean_ctor_get(x_10, 0);
lean_inc(x_12);
lean_dec(x_10);
x_13 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_13, 0, x_12);
return x_13;
}
}
else
{
lean_object* x_14; lean_object* x_15; lean_object* x_16; 
x_14 = lean_ctor_get(x_10, 0);
lean_inc(x_14);
lean_dec(x_10);
x_15 = l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____closed__1;
x_16 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__5(x_15, x_14, x_2);
if (lean_obj_tag(x_16) == 0)
{
uint8_t x_17; 
lean_free_object(x_7);
x_17 = !lean_is_exclusive(x_16);
if (x_17 == 0)
{
return x_16;
}
else
{
lean_object* x_18; lean_object* x_19; 
x_18 = lean_ctor_get(x_16, 0);
lean_inc(x_18);
lean_dec(x_16);
x_19 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_19, 0, x_18);
return x_19;
}
}
else
{
uint8_t x_20; 
x_20 = !lean_is_exclusive(x_16);
if (x_20 == 0)
{
lean_object* x_21; 
x_21 = lean_ctor_get(x_16, 0);
lean_ctor_set(x_7, 0, x_21);
lean_ctor_set(x_16, 0, x_7);
return x_16;
}
else
{
lean_object* x_22; lean_object* x_23; 
x_22 = lean_ctor_get(x_16, 0);
lean_inc(x_22);
lean_dec(x_16);
lean_ctor_set(x_7, 0, x_22);
x_23 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_23, 0, x_7);
return x_23;
}
}
}
}
else
{
lean_object* x_24; lean_object* x_25; 
x_24 = lean_ctor_get(x_7, 0);
lean_inc(x_24);
lean_dec(x_7);
x_25 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_418____at_Lean_Widget_TaggedText_instRpcEncodable___spec__5(x_24);
if (lean_obj_tag(x_25) == 0)
{
lean_object* x_26; lean_object* x_27; lean_object* x_28; 
lean_dec(x_2);
x_26 = lean_ctor_get(x_25, 0);
lean_inc(x_26);
if (lean_is_exclusive(x_25)) {
 lean_ctor_release(x_25, 0);
 x_27 = x_25;
} else {
 lean_dec_ref(x_25);
 x_27 = lean_box(0);
}
if (lean_is_scalar(x_27)) {
 x_28 = lean_alloc_ctor(0, 1, 0);
} else {
 x_28 = x_27;
}
lean_ctor_set(x_28, 0, x_26);
return x_28;
}
else
{
lean_object* x_29; lean_object* x_30; lean_object* x_31; 
x_29 = lean_ctor_get(x_25, 0);
lean_inc(x_29);
lean_dec(x_25);
x_30 = l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____closed__1;
x_31 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__5(x_30, x_29, x_2);
if (lean_obj_tag(x_31) == 0)
{
lean_object* x_32; lean_object* x_33; lean_object* x_34; 
x_32 = lean_ctor_get(x_31, 0);
lean_inc(x_32);
if (lean_is_exclusive(x_31)) {
 lean_ctor_release(x_31, 0);
 x_33 = x_31;
} else {
 lean_dec_ref(x_31);
 x_33 = lean_box(0);
}
if (lean_is_scalar(x_33)) {
 x_34 = lean_alloc_ctor(0, 1, 0);
} else {
 x_34 = x_33;
}
lean_ctor_set(x_34, 0, x_32);
return x_34;
}
else
{
lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; 
x_35 = lean_ctor_get(x_31, 0);
lean_inc(x_35);
if (lean_is_exclusive(x_31)) {
 lean_ctor_release(x_31, 0);
 x_36 = x_31;
} else {
 lean_dec_ref(x_31);
 x_36 = lean_box(0);
}
x_37 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_37, 0, x_35);
if (lean_is_scalar(x_36)) {
 x_38 = lean_alloc_ctor(1, 1, 0);
} else {
 x_38 = x_36;
}
lean_ctor_set(x_38, 0, x_37);
return x_38;
}
}
}
}
case 1:
{
uint8_t x_39; 
x_39 = !lean_is_exclusive(x_7);
if (x_39 == 0)
{
lean_object* x_40; lean_object* x_41; 
x_40 = lean_ctor_get(x_7, 0);
x_41 = l_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal_dec____x40_Lean_Widget_InteractiveGoal___hyg_1205_(x_40, x_2);
if (lean_obj_tag(x_41) == 0)
{
uint8_t x_42; 
lean_free_object(x_7);
x_42 = !lean_is_exclusive(x_41);
if (x_42 == 0)
{
return x_41;
}
else
{
lean_object* x_43; lean_object* x_44; 
x_43 = lean_ctor_get(x_41, 0);
lean_inc(x_43);
lean_dec(x_41);
x_44 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_44, 0, x_43);
return x_44;
}
}
else
{
uint8_t x_45; 
x_45 = !lean_is_exclusive(x_41);
if (x_45 == 0)
{
lean_object* x_46; 
x_46 = lean_ctor_get(x_41, 0);
lean_ctor_set(x_7, 0, x_46);
lean_ctor_set(x_41, 0, x_7);
return x_41;
}
else
{
lean_object* x_47; lean_object* x_48; 
x_47 = lean_ctor_get(x_41, 0);
lean_inc(x_47);
lean_dec(x_41);
lean_ctor_set(x_7, 0, x_47);
x_48 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_48, 0, x_7);
return x_48;
}
}
}
else
{
lean_object* x_49; lean_object* x_50; 
x_49 = lean_ctor_get(x_7, 0);
lean_inc(x_49);
lean_dec(x_7);
x_50 = l_Lean_Widget_Lean_Widget_InteractiveGoal_instRpcEncodableInteractiveGoal_dec____x40_Lean_Widget_InteractiveGoal___hyg_1205_(x_49, x_2);
if (lean_obj_tag(x_50) == 0)
{
lean_object* x_51; lean_object* x_52; lean_object* x_53; 
x_51 = lean_ctor_get(x_50, 0);
lean_inc(x_51);
if (lean_is_exclusive(x_50)) {
 lean_ctor_release(x_50, 0);
 x_52 = x_50;
} else {
 lean_dec_ref(x_50);
 x_52 = lean_box(0);
}
if (lean_is_scalar(x_52)) {
 x_53 = lean_alloc_ctor(0, 1, 0);
} else {
 x_53 = x_52;
}
lean_ctor_set(x_53, 0, x_51);
return x_53;
}
else
{
lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; 
x_54 = lean_ctor_get(x_50, 0);
lean_inc(x_54);
if (lean_is_exclusive(x_50)) {
 lean_ctor_release(x_50, 0);
 x_55 = x_50;
} else {
 lean_dec_ref(x_50);
 x_55 = lean_box(0);
}
x_56 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_56, 0, x_54);
if (lean_is_scalar(x_55)) {
 x_57 = lean_alloc_ctor(1, 1, 0);
} else {
 x_57 = x_55;
}
lean_ctor_set(x_57, 0, x_56);
return x_57;
}
}
}
case 2:
{
uint8_t x_58; 
x_58 = !lean_is_exclusive(x_7);
if (x_58 == 0)
{
lean_object* x_59; lean_object* x_60; lean_object* x_61; 
x_59 = lean_ctor_get(x_7, 0);
x_60 = lean_ctor_get(x_7, 1);
x_61 = l_Lean_Widget_Lean_Widget_WidgetInstance_instRpcEncodableWidgetInstance_dec____x40_Lean_Widget_Types___hyg_3_(x_59, x_2);
if (lean_obj_tag(x_61) == 0)
{
uint8_t x_62; 
lean_free_object(x_7);
lean_dec(x_60);
lean_dec(x_2);
x_62 = !lean_is_exclusive(x_61);
if (x_62 == 0)
{
return x_61;
}
else
{
lean_object* x_63; lean_object* x_64; 
x_63 = lean_ctor_get(x_61, 0);
lean_inc(x_63);
lean_dec(x_61);
x_64 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_64, 0, x_63);
return x_64;
}
}
else
{
lean_object* x_65; lean_object* x_66; 
x_65 = lean_ctor_get(x_61, 0);
lean_inc(x_65);
lean_dec(x_61);
x_66 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_418____at_Lean_Widget_TaggedText_instRpcEncodable___spec__5(x_60);
if (lean_obj_tag(x_66) == 0)
{
uint8_t x_67; 
lean_dec(x_65);
lean_free_object(x_7);
lean_dec(x_2);
x_67 = !lean_is_exclusive(x_66);
if (x_67 == 0)
{
return x_66;
}
else
{
lean_object* x_68; lean_object* x_69; 
x_68 = lean_ctor_get(x_66, 0);
lean_inc(x_68);
lean_dec(x_66);
x_69 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_69, 0, x_68);
return x_69;
}
}
else
{
lean_object* x_70; lean_object* x_71; lean_object* x_72; 
x_70 = lean_ctor_get(x_66, 0);
lean_inc(x_70);
lean_dec(x_66);
x_71 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__5___closed__1;
x_72 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__1(x_71, x_70, x_2);
if (lean_obj_tag(x_72) == 0)
{
uint8_t x_73; 
lean_dec(x_65);
lean_free_object(x_7);
x_73 = !lean_is_exclusive(x_72);
if (x_73 == 0)
{
return x_72;
}
else
{
lean_object* x_74; lean_object* x_75; 
x_74 = lean_ctor_get(x_72, 0);
lean_inc(x_74);
lean_dec(x_72);
x_75 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_75, 0, x_74);
return x_75;
}
}
else
{
uint8_t x_76; 
x_76 = !lean_is_exclusive(x_72);
if (x_76 == 0)
{
lean_object* x_77; 
x_77 = lean_ctor_get(x_72, 0);
lean_ctor_set(x_7, 1, x_77);
lean_ctor_set(x_7, 0, x_65);
lean_ctor_set(x_72, 0, x_7);
return x_72;
}
else
{
lean_object* x_78; lean_object* x_79; 
x_78 = lean_ctor_get(x_72, 0);
lean_inc(x_78);
lean_dec(x_72);
lean_ctor_set(x_7, 1, x_78);
lean_ctor_set(x_7, 0, x_65);
x_79 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_79, 0, x_7);
return x_79;
}
}
}
}
}
else
{
lean_object* x_80; lean_object* x_81; lean_object* x_82; 
x_80 = lean_ctor_get(x_7, 0);
x_81 = lean_ctor_get(x_7, 1);
lean_inc(x_81);
lean_inc(x_80);
lean_dec(x_7);
x_82 = l_Lean_Widget_Lean_Widget_WidgetInstance_instRpcEncodableWidgetInstance_dec____x40_Lean_Widget_Types___hyg_3_(x_80, x_2);
if (lean_obj_tag(x_82) == 0)
{
lean_object* x_83; lean_object* x_84; lean_object* x_85; 
lean_dec(x_81);
lean_dec(x_2);
x_83 = lean_ctor_get(x_82, 0);
lean_inc(x_83);
if (lean_is_exclusive(x_82)) {
 lean_ctor_release(x_82, 0);
 x_84 = x_82;
} else {
 lean_dec_ref(x_82);
 x_84 = lean_box(0);
}
if (lean_is_scalar(x_84)) {
 x_85 = lean_alloc_ctor(0, 1, 0);
} else {
 x_85 = x_84;
}
lean_ctor_set(x_85, 0, x_83);
return x_85;
}
else
{
lean_object* x_86; lean_object* x_87; 
x_86 = lean_ctor_get(x_82, 0);
lean_inc(x_86);
lean_dec(x_82);
x_87 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_418____at_Lean_Widget_TaggedText_instRpcEncodable___spec__5(x_81);
if (lean_obj_tag(x_87) == 0)
{
lean_object* x_88; lean_object* x_89; lean_object* x_90; 
lean_dec(x_86);
lean_dec(x_2);
x_88 = lean_ctor_get(x_87, 0);
lean_inc(x_88);
if (lean_is_exclusive(x_87)) {
 lean_ctor_release(x_87, 0);
 x_89 = x_87;
} else {
 lean_dec_ref(x_87);
 x_89 = lean_box(0);
}
if (lean_is_scalar(x_89)) {
 x_90 = lean_alloc_ctor(0, 1, 0);
} else {
 x_90 = x_89;
}
lean_ctor_set(x_90, 0, x_88);
return x_90;
}
else
{
lean_object* x_91; lean_object* x_92; lean_object* x_93; 
x_91 = lean_ctor_get(x_87, 0);
lean_inc(x_91);
lean_dec(x_87);
x_92 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__5___closed__1;
x_93 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__1(x_92, x_91, x_2);
if (lean_obj_tag(x_93) == 0)
{
lean_object* x_94; lean_object* x_95; lean_object* x_96; 
lean_dec(x_86);
x_94 = lean_ctor_get(x_93, 0);
lean_inc(x_94);
if (lean_is_exclusive(x_93)) {
 lean_ctor_release(x_93, 0);
 x_95 = x_93;
} else {
 lean_dec_ref(x_93);
 x_95 = lean_box(0);
}
if (lean_is_scalar(x_95)) {
 x_96 = lean_alloc_ctor(0, 1, 0);
} else {
 x_96 = x_95;
}
lean_ctor_set(x_96, 0, x_94);
return x_96;
}
else
{
lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; 
x_97 = lean_ctor_get(x_93, 0);
lean_inc(x_97);
if (lean_is_exclusive(x_93)) {
 lean_ctor_release(x_93, 0);
 x_98 = x_93;
} else {
 lean_dec_ref(x_93);
 x_98 = lean_box(0);
}
x_99 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_99, 0, x_86);
lean_ctor_set(x_99, 1, x_97);
if (lean_is_scalar(x_98)) {
 x_100 = lean_alloc_ctor(1, 1, 0);
} else {
 x_100 = x_98;
}
lean_ctor_set(x_100, 0, x_99);
return x_100;
}
}
}
}
}
default: 
{
lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; 
x_101 = lean_ctor_get(x_7, 0);
lean_inc(x_101);
x_102 = lean_ctor_get(x_7, 1);
lean_inc(x_102);
x_103 = lean_ctor_get(x_7, 2);
lean_inc(x_103);
x_104 = lean_ctor_get(x_7, 3);
lean_inc(x_104);
x_105 = lean_ctor_get(x_7, 4);
lean_inc(x_105);
lean_dec(x_7);
x_106 = l_Lean_Json_getNat_x3f(x_101);
x_107 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__3(x_106, x_2);
if (lean_obj_tag(x_107) == 0)
{
uint8_t x_108; 
lean_dec(x_105);
lean_dec(x_104);
lean_dec(x_103);
lean_dec(x_102);
lean_dec(x_2);
x_108 = !lean_is_exclusive(x_107);
if (x_108 == 0)
{
return x_107;
}
else
{
lean_object* x_109; lean_object* x_110; 
x_109 = lean_ctor_get(x_107, 0);
lean_inc(x_109);
lean_dec(x_107);
x_110 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_110, 0, x_109);
return x_110;
}
}
else
{
lean_object* x_111; lean_object* x_112; lean_object* x_148; 
x_111 = lean_ctor_get(x_107, 0);
lean_inc(x_111);
lean_dec(x_107);
lean_inc(x_102);
x_148 = l_Lean_Json_getStr_x3f(x_102);
if (lean_obj_tag(x_148) == 0)
{
uint8_t x_149; 
lean_dec(x_102);
x_149 = !lean_is_exclusive(x_148);
if (x_149 == 0)
{
x_112 = x_148;
goto block_147;
}
else
{
lean_object* x_150; lean_object* x_151; 
x_150 = lean_ctor_get(x_148, 0);
lean_inc(x_150);
lean_dec(x_148);
x_151 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_151, 0, x_150);
x_112 = x_151;
goto block_147;
}
}
else
{
uint8_t x_152; 
x_152 = !lean_is_exclusive(x_148);
if (x_152 == 0)
{
lean_object* x_153; lean_object* x_154; uint8_t x_155; 
x_153 = lean_ctor_get(x_148, 0);
x_154 = l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____closed__2;
x_155 = lean_string_dec_eq(x_153, x_154);
if (x_155 == 0)
{
lean_object* x_156; uint8_t x_157; 
x_156 = l_String_toName(x_153);
x_157 = l_Lean_Name_isAnonymous(x_156);
if (x_157 == 0)
{
lean_dec(x_102);
lean_ctor_set(x_148, 0, x_156);
x_112 = x_148;
goto block_147;
}
else
{
lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; 
lean_dec(x_156);
x_158 = lean_unsigned_to_nat(80u);
x_159 = l_Lean_Json_pretty(x_102, x_158);
x_160 = l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____closed__3;
x_161 = lean_string_append(x_160, x_159);
lean_dec(x_159);
x_162 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_163 = lean_string_append(x_161, x_162);
lean_ctor_set_tag(x_148, 0);
lean_ctor_set(x_148, 0, x_163);
x_112 = x_148;
goto block_147;
}
}
else
{
lean_object* x_164; 
lean_free_object(x_148);
lean_dec(x_153);
lean_dec(x_102);
x_164 = l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____closed__4;
x_112 = x_164;
goto block_147;
}
}
else
{
lean_object* x_165; lean_object* x_166; uint8_t x_167; 
x_165 = lean_ctor_get(x_148, 0);
lean_inc(x_165);
lean_dec(x_148);
x_166 = l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____closed__2;
x_167 = lean_string_dec_eq(x_165, x_166);
if (x_167 == 0)
{
lean_object* x_168; uint8_t x_169; 
x_168 = l_String_toName(x_165);
x_169 = l_Lean_Name_isAnonymous(x_168);
if (x_169 == 0)
{
lean_object* x_170; 
lean_dec(x_102);
x_170 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_170, 0, x_168);
x_112 = x_170;
goto block_147;
}
else
{
lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; 
lean_dec(x_168);
x_171 = lean_unsigned_to_nat(80u);
x_172 = l_Lean_Json_pretty(x_102, x_171);
x_173 = l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____closed__3;
x_174 = lean_string_append(x_173, x_172);
lean_dec(x_172);
x_175 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_176 = lean_string_append(x_174, x_175);
x_177 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_177, 0, x_176);
x_112 = x_177;
goto block_147;
}
}
else
{
lean_object* x_178; 
lean_dec(x_165);
lean_dec(x_102);
x_178 = l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____closed__4;
x_112 = x_178;
goto block_147;
}
}
}
block_147:
{
lean_object* x_113; 
x_113 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_WidgetInstance_instRpcEncodableWidgetInstance_dec____x40_Lean_Widget_Types___hyg_3____spec__3(x_112, x_2);
if (lean_obj_tag(x_113) == 0)
{
uint8_t x_114; 
lean_dec(x_111);
lean_dec(x_105);
lean_dec(x_104);
lean_dec(x_103);
lean_dec(x_2);
x_114 = !lean_is_exclusive(x_113);
if (x_114 == 0)
{
return x_113;
}
else
{
lean_object* x_115; lean_object* x_116; 
x_115 = lean_ctor_get(x_113, 0);
lean_inc(x_115);
lean_dec(x_113);
x_116 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_116, 0, x_115);
return x_116;
}
}
else
{
lean_object* x_117; lean_object* x_118; 
x_117 = lean_ctor_get(x_113, 0);
lean_inc(x_117);
lean_dec(x_113);
x_118 = l___private_Lean_Widget_TaggedText_0__Lean_Widget_fromJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_418____at_Lean_Widget_TaggedText_instRpcEncodable___spec__5(x_103);
if (lean_obj_tag(x_118) == 0)
{
uint8_t x_119; 
lean_dec(x_117);
lean_dec(x_111);
lean_dec(x_105);
lean_dec(x_104);
lean_dec(x_2);
x_119 = !lean_is_exclusive(x_118);
if (x_119 == 0)
{
return x_118;
}
else
{
lean_object* x_120; lean_object* x_121; 
x_120 = lean_ctor_get(x_118, 0);
lean_inc(x_120);
lean_dec(x_118);
x_121 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_121, 0, x_120);
return x_121;
}
}
else
{
lean_object* x_122; lean_object* x_123; lean_object* x_124; 
x_122 = lean_ctor_get(x_118, 0);
lean_inc(x_122);
lean_dec(x_118);
x_123 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__5___closed__1;
lean_inc(x_2);
x_124 = l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__1(x_123, x_122, x_2);
if (lean_obj_tag(x_124) == 0)
{
uint8_t x_125; 
lean_dec(x_117);
lean_dec(x_111);
lean_dec(x_105);
lean_dec(x_104);
lean_dec(x_2);
x_125 = !lean_is_exclusive(x_124);
if (x_125 == 0)
{
return x_124;
}
else
{
lean_object* x_126; lean_object* x_127; 
x_126 = lean_ctor_get(x_124, 0);
lean_inc(x_126);
lean_dec(x_124);
x_127 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_127, 0, x_126);
return x_127;
}
}
else
{
lean_object* x_128; lean_object* x_129; lean_object* x_130; 
x_128 = lean_ctor_get(x_124, 0);
lean_inc(x_128);
lean_dec(x_124);
x_129 = l_Lean_Json_getBool_x3f(x_104);
lean_dec(x_104);
x_130 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__7(x_129, x_2);
if (lean_obj_tag(x_130) == 0)
{
uint8_t x_131; 
lean_dec(x_128);
lean_dec(x_117);
lean_dec(x_111);
lean_dec(x_105);
lean_dec(x_2);
x_131 = !lean_is_exclusive(x_130);
if (x_131 == 0)
{
return x_130;
}
else
{
lean_object* x_132; lean_object* x_133; 
x_132 = lean_ctor_get(x_130, 0);
lean_inc(x_132);
lean_dec(x_130);
x_133 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_133, 0, x_132);
return x_133;
}
}
else
{
lean_object* x_134; lean_object* x_135; 
x_134 = lean_ctor_get(x_130, 0);
lean_inc(x_134);
lean_dec(x_130);
x_135 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4(x_105, x_2);
if (lean_obj_tag(x_135) == 0)
{
uint8_t x_136; 
lean_dec(x_134);
lean_dec(x_128);
lean_dec(x_117);
lean_dec(x_111);
x_136 = !lean_is_exclusive(x_135);
if (x_136 == 0)
{
return x_135;
}
else
{
lean_object* x_137; lean_object* x_138; 
x_137 = lean_ctor_get(x_135, 0);
lean_inc(x_137);
lean_dec(x_135);
x_138 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_138, 0, x_137);
return x_138;
}
}
else
{
uint8_t x_139; 
x_139 = !lean_is_exclusive(x_135);
if (x_139 == 0)
{
lean_object* x_140; lean_object* x_141; uint8_t x_142; 
x_140 = lean_ctor_get(x_135, 0);
x_141 = lean_alloc_ctor(3, 4, 1);
lean_ctor_set(x_141, 0, x_111);
lean_ctor_set(x_141, 1, x_117);
lean_ctor_set(x_141, 2, x_128);
lean_ctor_set(x_141, 3, x_140);
x_142 = lean_unbox(x_134);
lean_dec(x_134);
lean_ctor_set_uint8(x_141, sizeof(void*)*4, x_142);
lean_ctor_set(x_135, 0, x_141);
return x_135;
}
else
{
lean_object* x_143; lean_object* x_144; uint8_t x_145; lean_object* x_146; 
x_143 = lean_ctor_get(x_135, 0);
lean_inc(x_143);
lean_dec(x_135);
x_144 = lean_alloc_ctor(3, 4, 1);
lean_ctor_set(x_144, 0, x_111);
lean_ctor_set(x_144, 1, x_117);
lean_ctor_set(x_144, 2, x_128);
lean_ctor_set(x_144, 3, x_143);
x_145 = lean_unbox(x_134);
lean_dec(x_134);
lean_ctor_set_uint8(x_144, sizeof(void*)*4, x_145);
x_146 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_146, 0, x_144);
return x_146;
}
}
}
}
}
}
}
}
}
}
}
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
size_t x_6; size_t x_7; lean_object* x_8; 
x_6 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_7 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_8 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__2(x_1, x_6, x_7, x_4, x_5);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
size_t x_5; size_t x_6; lean_object* x_7; 
x_5 = lean_unbox_usize(x_1);
lean_dec(x_1);
x_6 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_7 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4(x_5, x_6, x_3, x_4);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
size_t x_6; size_t x_7; lean_object* x_8; 
x_6 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_7 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_8 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__2(x_1, x_6, x_7, x_4, x_5);
return x_8;
}
}
LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__3___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__3(x_1, x_2);
lean_dec(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
size_t x_5; size_t x_6; lean_object* x_7; 
x_5 = lean_unbox_usize(x_1);
lean_dec(x_1);
x_6 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_7 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__5(x_5, x_6, x_3, x_4);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____lambda__1___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____lambda__1(x_1, x_2);
lean_dec(x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_2 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__5___closed__1;
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed___closed__1;
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("range", 5, 5);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Widget_instImpl____x40_Lean_Widget_InteractiveDiagnostic___hyg_541____closed__1;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__2;
x_2 = l_Lean_Widget_instImpl____x40_Lean_Widget_InteractiveDiagnostic___hyg_541____closed__2;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__3;
x_2 = l_Lean_Widget_instImpl____x40_Lean_Widget_InteractiveDiagnostic___hyg_541____closed__1;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__5() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Lsp", 3, 3);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__4;
x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__5;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__7() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("DiagnosticWith", 14, 14);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__6;
x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__7;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__9() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("RpcEncodablePacket", 18, 18);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__8;
x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__9;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__11() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("_@", 2, 2);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__12() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__10;
x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__11;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__13() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__12;
x_2 = l_Lean_Widget_instImpl____x40_Lean_Widget_InteractiveDiagnostic___hyg_541____closed__1;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__14() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__13;
x_2 = l_Lean_Widget_instImpl____x40_Lean_Widget_InteractiveDiagnostic___hyg_541____closed__2;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__15() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("InteractiveDiagnostic", 21, 21);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__16() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__14;
x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__15;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__17() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("_hyg", 4, 4);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__18() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__16;
x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__17;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__19() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__18;
x_2 = lean_unsigned_to_nat(1838u);
x_3 = l_Lean_Name_num___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__20() {
_start:
{
lean_object* x_1; uint8_t x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__19;
x_2 = 1;
x_3 = l_Lean_Name_toString(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__21() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(".", 1, 1);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__22() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__20;
x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__21;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__23() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__1;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__24() {
_start:
{
lean_object* x_1; uint8_t x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__23;
x_2 = 1;
x_3 = l_Lean_Name_toString(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__25() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__22;
x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__24;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__26() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(": ", 2, 2);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__27() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__25;
x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__26;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__28() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("fullRange", 9, 9);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__29() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("fullRange\?", 10, 10);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__30() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__29;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__31() {
_start:
{
lean_object* x_1; uint8_t x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__30;
x_2 = 1;
x_3 = l_Lean_Name_toString(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__32() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__22;
x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__31;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__33() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__32;
x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__26;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__34() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("severity", 8, 8);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__35() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("severity\?", 9, 9);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__36() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__35;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__37() {
_start:
{
lean_object* x_1; uint8_t x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__36;
x_2 = 1;
x_3 = l_Lean_Name_toString(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__38() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__22;
x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__37;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__39() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__38;
x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__26;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__40() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("code", 4, 4);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__41() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("code\?", 5, 5);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__42() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__41;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__43() {
_start:
{
lean_object* x_1; uint8_t x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__42;
x_2 = 1;
x_3 = l_Lean_Name_toString(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__44() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__22;
x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__43;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__45() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__44;
x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__26;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__46() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("source", 6, 6);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__47() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("source\?", 7, 7);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__48() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__47;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__49() {
_start:
{
lean_object* x_1; uint8_t x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__48;
x_2 = 1;
x_3 = l_Lean_Name_toString(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__50() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__22;
x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__49;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__51() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__50;
x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__26;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__52() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("message", 7, 7);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__53() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__52;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__54() {
_start:
{
lean_object* x_1; uint8_t x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__53;
x_2 = 1;
x_3 = l_Lean_Name_toString(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__55() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__22;
x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__54;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__56() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__55;
x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__26;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__57() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("tags", 4, 4);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__58() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("tags\?", 5, 5);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__59() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__58;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__60() {
_start:
{
lean_object* x_1; uint8_t x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__59;
x_2 = 1;
x_3 = l_Lean_Name_toString(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__61() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__22;
x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__60;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__62() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__61;
x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__26;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__63() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("relatedInformation", 18, 18);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__64() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("relatedInformation\?", 19, 19);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__65() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__64;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__66() {
_start:
{
lean_object* x_1; uint8_t x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__65;
x_2 = 1;
x_3 = l_Lean_Name_toString(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__67() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__22;
x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__66;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__68() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__67;
x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__26;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__69() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("data", 4, 4);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__70() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("data\?", 5, 5);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__71() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__70;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__72() {
_start:
{
lean_object* x_1; uint8_t x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__71;
x_2 = 1;
x_3 = l_Lean_Name_toString(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__73() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__22;
x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__72;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__74() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__73;
x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__26;
x_3 = lean_string_append(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924_(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; 
x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__1;
lean_inc(x_1);
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonRpcCallParams____x40_Lean_Data_Lsp_Extra___hyg_1927____spec__2(x_1, x_2);
x_4 = lean_ctor_get(x_3, 0);
lean_inc(x_4);
lean_dec(x_3);
x_5 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__28;
lean_inc(x_1);
x_6 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_SubexprInfo_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveCode___hyg_345____spec__1(x_1, x_5);
x_7 = lean_ctor_get(x_6, 0);
lean_inc(x_7);
lean_dec(x_6);
x_8 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__34;
lean_inc(x_1);
x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_SubexprInfo_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveCode___hyg_345____spec__1(x_1, x_8);
x_10 = lean_ctor_get(x_9, 0);
lean_inc(x_10);
lean_dec(x_9);
x_11 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__40;
lean_inc(x_1);
x_12 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_SubexprInfo_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveCode___hyg_345____spec__1(x_1, x_11);
x_13 = lean_ctor_get(x_12, 0);
lean_inc(x_13);
lean_dec(x_12);
x_14 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__46;
lean_inc(x_1);
x_15 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_SubexprInfo_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveCode___hyg_345____spec__1(x_1, x_14);
x_16 = lean_ctor_get(x_15, 0);
lean_inc(x_16);
lean_dec(x_15);
x_17 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__52;
lean_inc(x_1);
x_18 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonRpcCallParams____x40_Lean_Data_Lsp_Extra___hyg_1927____spec__2(x_1, x_17);
x_19 = lean_ctor_get(x_18, 0);
lean_inc(x_19);
lean_dec(x_18);
x_20 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__57;
lean_inc(x_1);
x_21 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_SubexprInfo_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveCode___hyg_345____spec__1(x_1, x_20);
x_22 = lean_ctor_get(x_21, 0);
lean_inc(x_22);
lean_dec(x_21);
x_23 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__63;
lean_inc(x_1);
x_24 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_SubexprInfo_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveCode___hyg_345____spec__1(x_1, x_23);
x_25 = lean_ctor_get(x_24, 0);
lean_inc(x_25);
lean_dec(x_24);
x_26 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__69;
x_27 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_SubexprInfo_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveCode___hyg_345____spec__1(x_1, x_26);
x_28 = !lean_is_exclusive(x_27);
if (x_28 == 0)
{
lean_object* x_29; lean_object* x_30; 
x_29 = lean_ctor_get(x_27, 0);
x_30 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_30, 0, x_4);
lean_ctor_set(x_30, 1, x_7);
lean_ctor_set(x_30, 2, x_10);
lean_ctor_set(x_30, 3, x_13);
lean_ctor_set(x_30, 4, x_16);
lean_ctor_set(x_30, 5, x_19);
lean_ctor_set(x_30, 6, x_22);
lean_ctor_set(x_30, 7, x_25);
lean_ctor_set(x_30, 8, x_29);
lean_ctor_set(x_27, 0, x_30);
return x_27;
}
else
{
lean_object* x_31; lean_object* x_32; lean_object* x_33; 
x_31 = lean_ctor_get(x_27, 0);
lean_inc(x_31);
lean_dec(x_27);
x_32 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_32, 0, x_4);
lean_ctor_set(x_32, 1, x_7);
lean_ctor_set(x_32, 2, x_10);
lean_ctor_set(x_32, 3, x_13);
lean_ctor_set(x_32, 4, x_16);
lean_ctor_set(x_32, 5, x_19);
lean_ctor_set(x_32, 6, x_22);
lean_ctor_set(x_32, 7, x_25);
lean_ctor_set(x_32, 8, x_31);
x_33 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_33, 0, x_32);
return x_33;
}
}
}
static lean_object* _init_l_Lean_Widget_Lean_Lsp_DiagnosticWith_instFromJsonRpcEncodablePacket___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924_), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Lsp_DiagnosticWith_instFromJsonRpcEncodablePacket() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Widget_Lean_Lsp_DiagnosticWith_instFromJsonRpcEncodablePacket___closed__1;
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_2515_(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; 
x_2 = lean_ctor_get(x_1, 0);
x_3 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__1;
lean_inc(x_2);
x_4 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
x_5 = lean_box(0);
x_6 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_6, 0, x_4);
lean_ctor_set(x_6, 1, x_5);
x_7 = lean_ctor_get(x_1, 1);
x_8 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__28;
x_9 = l_Lean_Json_opt___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_SubexprInfo_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveCode___hyg_558____spec__1(x_8, x_7);
x_10 = lean_ctor_get(x_1, 2);
x_11 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__34;
x_12 = l_Lean_Json_opt___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_SubexprInfo_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveCode___hyg_558____spec__1(x_11, x_10);
x_13 = lean_ctor_get(x_1, 3);
x_14 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__40;
x_15 = l_Lean_Json_opt___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_SubexprInfo_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveCode___hyg_558____spec__1(x_14, x_13);
x_16 = lean_ctor_get(x_1, 4);
x_17 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__46;
x_18 = l_Lean_Json_opt___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_SubexprInfo_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveCode___hyg_558____spec__1(x_17, x_16);
x_19 = lean_ctor_get(x_1, 5);
x_20 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__52;
lean_inc(x_19);
x_21 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_21, 0, x_20);
lean_ctor_set(x_21, 1, x_19);
x_22 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_22, 0, x_21);
lean_ctor_set(x_22, 1, x_5);
x_23 = lean_ctor_get(x_1, 6);
x_24 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__57;
x_25 = l_Lean_Json_opt___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_SubexprInfo_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveCode___hyg_558____spec__1(x_24, x_23);
x_26 = lean_ctor_get(x_1, 7);
x_27 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__63;
x_28 = l_Lean_Json_opt___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_SubexprInfo_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveCode___hyg_558____spec__1(x_27, x_26);
x_29 = lean_ctor_get(x_1, 8);
x_30 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__69;
x_31 = l_Lean_Json_opt___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_Lean_Widget_SubexprInfo_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveCode___hyg_558____spec__1(x_30, x_29);
x_32 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_32, 0, x_31);
lean_ctor_set(x_32, 1, x_5);
x_33 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_33, 0, x_28);
lean_ctor_set(x_33, 1, x_32);
x_34 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_34, 0, x_25);
lean_ctor_set(x_34, 1, x_33);
x_35 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_35, 0, x_22);
lean_ctor_set(x_35, 1, x_34);
x_36 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_36, 0, x_18);
lean_ctor_set(x_36, 1, x_35);
x_37 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_37, 0, x_15);
lean_ctor_set(x_37, 1, x_36);
x_38 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_38, 0, x_12);
lean_ctor_set(x_38, 1, x_37);
x_39 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_39, 0, x_9);
lean_ctor_set(x_39, 1, x_38);
x_40 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_40, 0, x_6);
lean_ctor_set(x_40, 1, x_39);
x_41 = l_List_join___rarg(x_40);
x_42 = l_Lean_Json_mkObj(x_41);
return x_42;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_2515____boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_2515_(x_1);
lean_dec(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Lsp_DiagnosticWith_instToJsonRpcEncodablePacket___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_2515____boxed), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Lsp_DiagnosticWith_instToJsonRpcEncodablePacket() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Widget_Lean_Lsp_DiagnosticWith_instToJsonRpcEncodablePacket___closed__1;
return x_1;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__1(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
uint8_t x_5; 
x_5 = lean_usize_dec_lt(x_2, x_1);
if (x_5 == 0)
{
lean_object* x_6; 
x_6 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_6, 0, x_3);
lean_ctor_set(x_6, 1, x_4);
return x_6;
}
else
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; 
x_7 = lean_array_uget(x_3, x_2);
x_8 = lean_unsigned_to_nat(0u);
x_9 = lean_array_uset(x_3, x_2, x_8);
x_10 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticRelatedInformation____x40_Lean_Data_Lsp_Diagnostics___hyg_913_(x_7);
x_11 = 1;
x_12 = lean_usize_add(x_2, x_11);
x_13 = lean_array_uset(x_9, x_2, x_10);
x_2 = x_12;
x_3 = x_13;
goto _start;
}
}
}
static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(1u);
x_2 = l_Lean_JsonNumber_fromNat(x_1);
return x_2;
}
}
static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2___closed__1;
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(2u);
x_2 = l_Lean_JsonNumber_fromNat(x_1);
return x_2;
}
}
static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2___closed__3;
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
uint8_t x_5; 
x_5 = lean_usize_dec_lt(x_2, x_1);
if (x_5 == 0)
{
lean_object* x_6; 
x_6 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_6, 0, x_3);
lean_ctor_set(x_6, 1, x_4);
return x_6;
}
else
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; 
x_7 = lean_array_uget(x_3, x_2);
x_8 = lean_unsigned_to_nat(0u);
x_9 = lean_array_uset(x_3, x_2, x_8);
x_10 = lean_unbox(x_7);
lean_dec(x_7);
if (x_10 == 0)
{
size_t x_11; size_t x_12; lean_object* x_13; lean_object* x_14; 
x_11 = 1;
x_12 = lean_usize_add(x_2, x_11);
x_13 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2___closed__2;
x_14 = lean_array_uset(x_9, x_2, x_13);
x_2 = x_12;
x_3 = x_14;
goto _start;
}
else
{
size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; 
x_16 = 1;
x_17 = lean_usize_add(x_2, x_16);
x_18 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2___closed__4;
x_19 = lean_array_uset(x_9, x_2, x_18);
x_2 = x_17;
x_3 = x_19;
goto _start;
}
}
}
}
static lean_object* _init_l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2___closed__2;
x_2 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2___closed__4;
x_2 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(3u);
x_2 = l_Lean_JsonNumber_fromNat(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__3;
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__4;
x_2 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(4u);
x_2 = l_Lean_JsonNumber_fromNat(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__6;
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__7;
x_2 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_174; 
x_4 = lean_ctor_get(x_2, 0);
lean_inc(x_4);
x_5 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRange____x40_Lean_Data_Lsp_Basic___hyg_738_(x_4);
x_174 = lean_ctor_get(x_2, 1);
lean_inc(x_174);
if (lean_obj_tag(x_174) == 0)
{
lean_object* x_175; 
x_175 = lean_box(0);
x_6 = x_175;
x_7 = x_3;
goto block_173;
}
else
{
uint8_t x_176; 
x_176 = !lean_is_exclusive(x_174);
if (x_176 == 0)
{
lean_object* x_177; lean_object* x_178; 
x_177 = lean_ctor_get(x_174, 0);
x_178 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRange____x40_Lean_Data_Lsp_Basic___hyg_738_(x_177);
lean_ctor_set(x_174, 0, x_178);
x_6 = x_174;
x_7 = x_3;
goto block_173;
}
else
{
lean_object* x_179; lean_object* x_180; lean_object* x_181; 
x_179 = lean_ctor_get(x_174, 0);
lean_inc(x_179);
lean_dec(x_174);
x_180 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRange____x40_Lean_Data_Lsp_Basic___hyg_738_(x_179);
x_181 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_181, 0, x_180);
x_6 = x_181;
x_7 = x_3;
goto block_173;
}
}
block_173:
{
lean_object* x_8; lean_object* x_9; lean_object* x_165; 
x_165 = lean_ctor_get(x_2, 2);
lean_inc(x_165);
if (lean_obj_tag(x_165) == 0)
{
lean_object* x_166; 
x_166 = lean_box(0);
x_8 = x_166;
x_9 = x_7;
goto block_164;
}
else
{
lean_object* x_167; uint8_t x_168; 
x_167 = lean_ctor_get(x_165, 0);
lean_inc(x_167);
lean_dec(x_165);
x_168 = lean_unbox(x_167);
lean_dec(x_167);
switch (x_168) {
case 0:
{
lean_object* x_169; 
x_169 = l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__1;
x_8 = x_169;
x_9 = x_7;
goto block_164;
}
case 1:
{
lean_object* x_170; 
x_170 = l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__2;
x_8 = x_170;
x_9 = x_7;
goto block_164;
}
case 2:
{
lean_object* x_171; 
x_171 = l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__5;
x_8 = x_171;
x_9 = x_7;
goto block_164;
}
default: 
{
lean_object* x_172; 
x_172 = l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__8;
x_8 = x_172;
x_9 = x_7;
goto block_164;
}
}
}
block_164:
{
lean_object* x_10; lean_object* x_11; lean_object* x_138; 
x_138 = lean_ctor_get(x_2, 3);
lean_inc(x_138);
if (lean_obj_tag(x_138) == 0)
{
lean_object* x_139; 
x_139 = lean_box(0);
x_10 = x_139;
x_11 = x_9;
goto block_137;
}
else
{
uint8_t x_140; 
x_140 = !lean_is_exclusive(x_138);
if (x_140 == 0)
{
lean_object* x_141; 
x_141 = lean_ctor_get(x_138, 0);
if (lean_obj_tag(x_141) == 0)
{
uint8_t x_142; 
x_142 = !lean_is_exclusive(x_141);
if (x_142 == 0)
{
lean_object* x_143; lean_object* x_144; lean_object* x_145; 
x_143 = lean_ctor_get(x_141, 0);
x_144 = lean_unsigned_to_nat(0u);
x_145 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_145, 0, x_143);
lean_ctor_set(x_145, 1, x_144);
lean_ctor_set_tag(x_141, 2);
lean_ctor_set(x_141, 0, x_145);
x_10 = x_138;
x_11 = x_9;
goto block_137;
}
else
{
lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; 
x_146 = lean_ctor_get(x_141, 0);
lean_inc(x_146);
lean_dec(x_141);
x_147 = lean_unsigned_to_nat(0u);
x_148 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_148, 0, x_146);
lean_ctor_set(x_148, 1, x_147);
x_149 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_149, 0, x_148);
lean_ctor_set(x_138, 0, x_149);
x_10 = x_138;
x_11 = x_9;
goto block_137;
}
}
else
{
uint8_t x_150; 
x_150 = !lean_is_exclusive(x_141);
if (x_150 == 0)
{
lean_ctor_set_tag(x_141, 3);
x_10 = x_138;
x_11 = x_9;
goto block_137;
}
else
{
lean_object* x_151; lean_object* x_152; 
x_151 = lean_ctor_get(x_141, 0);
lean_inc(x_151);
lean_dec(x_141);
x_152 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_152, 0, x_151);
lean_ctor_set(x_138, 0, x_152);
x_10 = x_138;
x_11 = x_9;
goto block_137;
}
}
}
else
{
lean_object* x_153; 
x_153 = lean_ctor_get(x_138, 0);
lean_inc(x_153);
lean_dec(x_138);
if (lean_obj_tag(x_153) == 0)
{
lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; 
x_154 = lean_ctor_get(x_153, 0);
lean_inc(x_154);
if (lean_is_exclusive(x_153)) {
 lean_ctor_release(x_153, 0);
 x_155 = x_153;
} else {
 lean_dec_ref(x_153);
 x_155 = lean_box(0);
}
x_156 = lean_unsigned_to_nat(0u);
x_157 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_157, 0, x_154);
lean_ctor_set(x_157, 1, x_156);
if (lean_is_scalar(x_155)) {
 x_158 = lean_alloc_ctor(2, 1, 0);
} else {
 x_158 = x_155;
 lean_ctor_set_tag(x_158, 2);
}
lean_ctor_set(x_158, 0, x_157);
x_159 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_159, 0, x_158);
x_10 = x_159;
x_11 = x_9;
goto block_137;
}
else
{
lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; 
x_160 = lean_ctor_get(x_153, 0);
lean_inc(x_160);
if (lean_is_exclusive(x_153)) {
 lean_ctor_release(x_153, 0);
 x_161 = x_153;
} else {
 lean_dec_ref(x_153);
 x_161 = lean_box(0);
}
if (lean_is_scalar(x_161)) {
 x_162 = lean_alloc_ctor(3, 1, 0);
} else {
 x_162 = x_161;
 lean_ctor_set_tag(x_162, 3);
}
lean_ctor_set(x_162, 0, x_160);
x_163 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_163, 0, x_162);
x_10 = x_163;
x_11 = x_9;
goto block_137;
}
}
}
block_137:
{
lean_object* x_12; lean_object* x_13; lean_object* x_129; 
x_129 = lean_ctor_get(x_2, 4);
lean_inc(x_129);
if (lean_obj_tag(x_129) == 0)
{
lean_object* x_130; 
x_130 = lean_box(0);
x_12 = x_130;
x_13 = x_11;
goto block_128;
}
else
{
uint8_t x_131; 
x_131 = !lean_is_exclusive(x_129);
if (x_131 == 0)
{
lean_object* x_132; lean_object* x_133; 
x_132 = lean_ctor_get(x_129, 0);
x_133 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_133, 0, x_132);
lean_ctor_set(x_129, 0, x_133);
x_12 = x_129;
x_13 = x_11;
goto block_128;
}
else
{
lean_object* x_134; lean_object* x_135; lean_object* x_136; 
x_134 = lean_ctor_get(x_129, 0);
lean_inc(x_134);
lean_dec(x_129);
x_135 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_135, 0, x_134);
x_136 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_136, 0, x_135);
x_12 = x_136;
x_13 = x_11;
goto block_128;
}
}
block_128:
{
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_102; 
x_14 = lean_ctor_get(x_1, 0);
lean_inc(x_14);
lean_dec(x_1);
x_15 = lean_ctor_get(x_2, 5);
lean_inc(x_15);
x_16 = lean_apply_2(x_14, x_15, x_13);
x_17 = lean_ctor_get(x_16, 0);
lean_inc(x_17);
x_18 = lean_ctor_get(x_16, 1);
lean_inc(x_18);
if (lean_is_exclusive(x_16)) {
 lean_ctor_release(x_16, 0);
 lean_ctor_release(x_16, 1);
 x_19 = x_16;
} else {
 lean_dec_ref(x_16);
 x_19 = lean_box(0);
}
x_102 = lean_ctor_get(x_2, 6);
lean_inc(x_102);
if (lean_obj_tag(x_102) == 0)
{
lean_object* x_103; 
x_103 = lean_box(0);
x_20 = x_103;
x_21 = x_18;
goto block_101;
}
else
{
uint8_t x_104; 
x_104 = !lean_is_exclusive(x_102);
if (x_104 == 0)
{
lean_object* x_105; lean_object* x_106; size_t x_107; size_t x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; size_t x_113; lean_object* x_114; lean_object* x_115; 
x_105 = lean_ctor_get(x_102, 0);
x_106 = lean_array_get_size(x_105);
x_107 = lean_usize_of_nat(x_106);
lean_dec(x_106);
x_108 = 0;
x_109 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2(x_107, x_108, x_105, x_18);
x_110 = lean_ctor_get(x_109, 0);
lean_inc(x_110);
x_111 = lean_ctor_get(x_109, 1);
lean_inc(x_111);
lean_dec(x_109);
x_112 = lean_array_get_size(x_110);
x_113 = lean_usize_of_nat(x_112);
lean_dec(x_112);
x_114 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1606____spec__2(x_113, x_108, x_110);
x_115 = lean_alloc_ctor(4, 1, 0);
lean_ctor_set(x_115, 0, x_114);
lean_ctor_set(x_102, 0, x_115);
x_20 = x_102;
x_21 = x_111;
goto block_101;
}
else
{
lean_object* x_116; lean_object* x_117; size_t x_118; size_t x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; size_t x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; 
x_116 = lean_ctor_get(x_102, 0);
lean_inc(x_116);
lean_dec(x_102);
x_117 = lean_array_get_size(x_116);
x_118 = lean_usize_of_nat(x_117);
lean_dec(x_117);
x_119 = 0;
x_120 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2(x_118, x_119, x_116, x_18);
x_121 = lean_ctor_get(x_120, 0);
lean_inc(x_121);
x_122 = lean_ctor_get(x_120, 1);
lean_inc(x_122);
lean_dec(x_120);
x_123 = lean_array_get_size(x_121);
x_124 = lean_usize_of_nat(x_123);
lean_dec(x_123);
x_125 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1606____spec__2(x_124, x_119, x_121);
x_126 = lean_alloc_ctor(4, 1, 0);
lean_ctor_set(x_126, 0, x_125);
x_127 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_127, 0, x_126);
x_20 = x_127;
x_21 = x_122;
goto block_101;
}
}
block_101:
{
lean_object* x_22; 
x_22 = lean_ctor_get(x_2, 7);
lean_inc(x_22);
if (lean_obj_tag(x_22) == 0)
{
lean_object* x_23; lean_object* x_24; 
x_23 = lean_box(0);
x_24 = lean_ctor_get(x_2, 8);
lean_inc(x_24);
lean_dec(x_2);
if (lean_obj_tag(x_24) == 0)
{
lean_object* x_25; lean_object* x_26; lean_object* x_27; 
x_25 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_25, 0, x_5);
lean_ctor_set(x_25, 1, x_6);
lean_ctor_set(x_25, 2, x_8);
lean_ctor_set(x_25, 3, x_10);
lean_ctor_set(x_25, 4, x_12);
lean_ctor_set(x_25, 5, x_17);
lean_ctor_set(x_25, 6, x_20);
lean_ctor_set(x_25, 7, x_23);
lean_ctor_set(x_25, 8, x_23);
x_26 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_2515_(x_25);
lean_dec(x_25);
if (lean_is_scalar(x_19)) {
 x_27 = lean_alloc_ctor(0, 2, 0);
} else {
 x_27 = x_19;
}
lean_ctor_set(x_27, 0, x_26);
lean_ctor_set(x_27, 1, x_21);
return x_27;
}
else
{
uint8_t x_28; 
x_28 = !lean_is_exclusive(x_24);
if (x_28 == 0)
{
lean_object* x_29; lean_object* x_30; lean_object* x_31; 
x_29 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_29, 0, x_5);
lean_ctor_set(x_29, 1, x_6);
lean_ctor_set(x_29, 2, x_8);
lean_ctor_set(x_29, 3, x_10);
lean_ctor_set(x_29, 4, x_12);
lean_ctor_set(x_29, 5, x_17);
lean_ctor_set(x_29, 6, x_20);
lean_ctor_set(x_29, 7, x_23);
lean_ctor_set(x_29, 8, x_24);
x_30 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_2515_(x_29);
lean_dec(x_29);
if (lean_is_scalar(x_19)) {
 x_31 = lean_alloc_ctor(0, 2, 0);
} else {
 x_31 = x_19;
}
lean_ctor_set(x_31, 0, x_30);
lean_ctor_set(x_31, 1, x_21);
return x_31;
}
else
{
lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; 
x_32 = lean_ctor_get(x_24, 0);
lean_inc(x_32);
lean_dec(x_24);
x_33 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_33, 0, x_32);
x_34 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_34, 0, x_5);
lean_ctor_set(x_34, 1, x_6);
lean_ctor_set(x_34, 2, x_8);
lean_ctor_set(x_34, 3, x_10);
lean_ctor_set(x_34, 4, x_12);
lean_ctor_set(x_34, 5, x_17);
lean_ctor_set(x_34, 6, x_20);
lean_ctor_set(x_34, 7, x_23);
lean_ctor_set(x_34, 8, x_33);
x_35 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_2515_(x_34);
lean_dec(x_34);
if (lean_is_scalar(x_19)) {
 x_36 = lean_alloc_ctor(0, 2, 0);
} else {
 x_36 = x_19;
}
lean_ctor_set(x_36, 0, x_35);
lean_ctor_set(x_36, 1, x_21);
return x_36;
}
}
}
else
{
uint8_t x_37; 
lean_dec(x_19);
x_37 = !lean_is_exclusive(x_22);
if (x_37 == 0)
{
lean_object* x_38; lean_object* x_39; size_t x_40; size_t x_41; lean_object* x_42; uint8_t x_43; 
x_38 = lean_ctor_get(x_22, 0);
x_39 = lean_array_get_size(x_38);
x_40 = lean_usize_of_nat(x_39);
lean_dec(x_39);
x_41 = 0;
x_42 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__1(x_40, x_41, x_38, x_21);
x_43 = !lean_is_exclusive(x_42);
if (x_43 == 0)
{
lean_object* x_44; lean_object* x_45; size_t x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; 
x_44 = lean_ctor_get(x_42, 0);
x_45 = lean_array_get_size(x_44);
x_46 = lean_usize_of_nat(x_45);
lean_dec(x_45);
x_47 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1606____spec__2(x_46, x_41, x_44);
x_48 = lean_alloc_ctor(4, 1, 0);
lean_ctor_set(x_48, 0, x_47);
lean_ctor_set(x_22, 0, x_48);
x_49 = lean_ctor_get(x_2, 8);
lean_inc(x_49);
lean_dec(x_2);
if (lean_obj_tag(x_49) == 0)
{
lean_object* x_50; lean_object* x_51; lean_object* x_52; 
x_50 = lean_box(0);
x_51 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_51, 0, x_5);
lean_ctor_set(x_51, 1, x_6);
lean_ctor_set(x_51, 2, x_8);
lean_ctor_set(x_51, 3, x_10);
lean_ctor_set(x_51, 4, x_12);
lean_ctor_set(x_51, 5, x_17);
lean_ctor_set(x_51, 6, x_20);
lean_ctor_set(x_51, 7, x_22);
lean_ctor_set(x_51, 8, x_50);
x_52 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_2515_(x_51);
lean_dec(x_51);
lean_ctor_set(x_42, 0, x_52);
return x_42;
}
else
{
uint8_t x_53; 
x_53 = !lean_is_exclusive(x_49);
if (x_53 == 0)
{
lean_object* x_54; lean_object* x_55; 
x_54 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_54, 0, x_5);
lean_ctor_set(x_54, 1, x_6);
lean_ctor_set(x_54, 2, x_8);
lean_ctor_set(x_54, 3, x_10);
lean_ctor_set(x_54, 4, x_12);
lean_ctor_set(x_54, 5, x_17);
lean_ctor_set(x_54, 6, x_20);
lean_ctor_set(x_54, 7, x_22);
lean_ctor_set(x_54, 8, x_49);
x_55 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_2515_(x_54);
lean_dec(x_54);
lean_ctor_set(x_42, 0, x_55);
return x_42;
}
else
{
lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; 
x_56 = lean_ctor_get(x_49, 0);
lean_inc(x_56);
lean_dec(x_49);
x_57 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_57, 0, x_56);
x_58 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_58, 0, x_5);
lean_ctor_set(x_58, 1, x_6);
lean_ctor_set(x_58, 2, x_8);
lean_ctor_set(x_58, 3, x_10);
lean_ctor_set(x_58, 4, x_12);
lean_ctor_set(x_58, 5, x_17);
lean_ctor_set(x_58, 6, x_20);
lean_ctor_set(x_58, 7, x_22);
lean_ctor_set(x_58, 8, x_57);
x_59 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_2515_(x_58);
lean_dec(x_58);
lean_ctor_set(x_42, 0, x_59);
return x_42;
}
}
}
else
{
lean_object* x_60; lean_object* x_61; lean_object* x_62; size_t x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; 
x_60 = lean_ctor_get(x_42, 0);
x_61 = lean_ctor_get(x_42, 1);
lean_inc(x_61);
lean_inc(x_60);
lean_dec(x_42);
x_62 = lean_array_get_size(x_60);
x_63 = lean_usize_of_nat(x_62);
lean_dec(x_62);
x_64 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1606____spec__2(x_63, x_41, x_60);
x_65 = lean_alloc_ctor(4, 1, 0);
lean_ctor_set(x_65, 0, x_64);
lean_ctor_set(x_22, 0, x_65);
x_66 = lean_ctor_get(x_2, 8);
lean_inc(x_66);
lean_dec(x_2);
if (lean_obj_tag(x_66) == 0)
{
lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; 
x_67 = lean_box(0);
x_68 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_68, 0, x_5);
lean_ctor_set(x_68, 1, x_6);
lean_ctor_set(x_68, 2, x_8);
lean_ctor_set(x_68, 3, x_10);
lean_ctor_set(x_68, 4, x_12);
lean_ctor_set(x_68, 5, x_17);
lean_ctor_set(x_68, 6, x_20);
lean_ctor_set(x_68, 7, x_22);
lean_ctor_set(x_68, 8, x_67);
x_69 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_2515_(x_68);
lean_dec(x_68);
x_70 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_70, 0, x_69);
lean_ctor_set(x_70, 1, x_61);
return x_70;
}
else
{
lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; 
x_71 = lean_ctor_get(x_66, 0);
lean_inc(x_71);
if (lean_is_exclusive(x_66)) {
 lean_ctor_release(x_66, 0);
 x_72 = x_66;
} else {
 lean_dec_ref(x_66);
 x_72 = lean_box(0);
}
if (lean_is_scalar(x_72)) {
 x_73 = lean_alloc_ctor(1, 1, 0);
} else {
 x_73 = x_72;
}
lean_ctor_set(x_73, 0, x_71);
x_74 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_74, 0, x_5);
lean_ctor_set(x_74, 1, x_6);
lean_ctor_set(x_74, 2, x_8);
lean_ctor_set(x_74, 3, x_10);
lean_ctor_set(x_74, 4, x_12);
lean_ctor_set(x_74, 5, x_17);
lean_ctor_set(x_74, 6, x_20);
lean_ctor_set(x_74, 7, x_22);
lean_ctor_set(x_74, 8, x_73);
x_75 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_2515_(x_74);
lean_dec(x_74);
x_76 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_76, 0, x_75);
lean_ctor_set(x_76, 1, x_61);
return x_76;
}
}
}
else
{
lean_object* x_77; lean_object* x_78; size_t x_79; size_t x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; size_t x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; 
x_77 = lean_ctor_get(x_22, 0);
lean_inc(x_77);
lean_dec(x_22);
x_78 = lean_array_get_size(x_77);
x_79 = lean_usize_of_nat(x_78);
lean_dec(x_78);
x_80 = 0;
x_81 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__1(x_79, x_80, x_77, x_21);
x_82 = lean_ctor_get(x_81, 0);
lean_inc(x_82);
x_83 = lean_ctor_get(x_81, 1);
lean_inc(x_83);
if (lean_is_exclusive(x_81)) {
 lean_ctor_release(x_81, 0);
 lean_ctor_release(x_81, 1);
 x_84 = x_81;
} else {
 lean_dec_ref(x_81);
 x_84 = lean_box(0);
}
x_85 = lean_array_get_size(x_82);
x_86 = lean_usize_of_nat(x_85);
lean_dec(x_85);
x_87 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1606____spec__2(x_86, x_80, x_82);
x_88 = lean_alloc_ctor(4, 1, 0);
lean_ctor_set(x_88, 0, x_87);
x_89 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_89, 0, x_88);
x_90 = lean_ctor_get(x_2, 8);
lean_inc(x_90);
lean_dec(x_2);
if (lean_obj_tag(x_90) == 0)
{
lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; 
x_91 = lean_box(0);
x_92 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_92, 0, x_5);
lean_ctor_set(x_92, 1, x_6);
lean_ctor_set(x_92, 2, x_8);
lean_ctor_set(x_92, 3, x_10);
lean_ctor_set(x_92, 4, x_12);
lean_ctor_set(x_92, 5, x_17);
lean_ctor_set(x_92, 6, x_20);
lean_ctor_set(x_92, 7, x_89);
lean_ctor_set(x_92, 8, x_91);
x_93 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_2515_(x_92);
lean_dec(x_92);
if (lean_is_scalar(x_84)) {
 x_94 = lean_alloc_ctor(0, 2, 0);
} else {
 x_94 = x_84;
}
lean_ctor_set(x_94, 0, x_93);
lean_ctor_set(x_94, 1, x_83);
return x_94;
}
else
{
lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; 
x_95 = lean_ctor_get(x_90, 0);
lean_inc(x_95);
if (lean_is_exclusive(x_90)) {
 lean_ctor_release(x_90, 0);
 x_96 = x_90;
} else {
 lean_dec_ref(x_90);
 x_96 = lean_box(0);
}
if (lean_is_scalar(x_96)) {
 x_97 = lean_alloc_ctor(1, 1, 0);
} else {
 x_97 = x_96;
}
lean_ctor_set(x_97, 0, x_95);
x_98 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_98, 0, x_5);
lean_ctor_set(x_98, 1, x_6);
lean_ctor_set(x_98, 2, x_8);
lean_ctor_set(x_98, 3, x_10);
lean_ctor_set(x_98, 4, x_12);
lean_ctor_set(x_98, 5, x_17);
lean_ctor_set(x_98, 6, x_20);
lean_ctor_set(x_98, 7, x_89);
lean_ctor_set(x_98, 8, x_97);
x_99 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_2515_(x_98);
lean_dec(x_98);
if (lean_is_scalar(x_84)) {
 x_100 = lean_alloc_ctor(0, 2, 0);
} else {
 x_100 = x_84;
}
lean_ctor_set(x_100, 0, x_99);
lean_ctor_set(x_100, 1, x_83);
return x_100;
}
}
}
}
}
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838_(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg), 3, 0);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
size_t x_5; size_t x_6; lean_object* x_7; 
x_5 = lean_unbox_usize(x_1);
lean_dec(x_1);
x_6 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_7 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__1(x_5, x_6, x_3, x_4);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
size_t x_5; size_t x_6; lean_object* x_7; 
x_5 = lean_unbox_usize(x_1);
lean_dec(x_1);
x_6 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_7 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2(x_5, x_6, x_3, x_4);
return x_7;
}
}
LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__1(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
uint8_t x_3; 
x_3 = !lean_is_exclusive(x_1);
if (x_3 == 0)
{
return x_1;
}
else
{
lean_object* x_4; lean_object* x_5; 
x_4 = lean_ctor_get(x_1, 0);
lean_inc(x_4);
lean_dec(x_1);
x_5 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_5, 0, x_4);
return x_5;
}
}
else
{
uint8_t x_6; 
x_6 = !lean_is_exclusive(x_1);
if (x_6 == 0)
{
return x_1;
}
else
{
lean_object* x_7; lean_object* x_8; 
x_7 = lean_ctor_get(x_1, 0);
lean_inc(x_7);
lean_dec(x_1);
x_8 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_8, 0, x_7);
return x_8;
}
}
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
uint8_t x_5; 
x_5 = lean_usize_dec_lt(x_2, x_1);
if (x_5 == 0)
{
lean_object* x_6; 
x_6 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_6, 0, x_3);
return x_6;
}
else
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; 
x_7 = lean_array_uget(x_3, x_2);
x_8 = lean_unsigned_to_nat(0u);
x_9 = lean_array_uset(x_3, x_2, x_8);
x_10 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticRelatedInformation____x40_Lean_Data_Lsp_Diagnostics___hyg_961_(x_7);
x_11 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__1(x_10, x_4);
if (lean_obj_tag(x_11) == 0)
{
uint8_t x_12; 
lean_dec(x_9);
x_12 = !lean_is_exclusive(x_11);
if (x_12 == 0)
{
return x_11;
}
else
{
lean_object* x_13; lean_object* x_14; 
x_13 = lean_ctor_get(x_11, 0);
lean_inc(x_13);
lean_dec(x_11);
x_14 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_14, 0, x_13);
return x_14;
}
}
else
{
lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; 
x_15 = lean_ctor_get(x_11, 0);
lean_inc(x_15);
lean_dec(x_11);
x_16 = 1;
x_17 = lean_usize_add(x_2, x_16);
x_18 = lean_array_uset(x_9, x_2, x_15);
x_2 = x_17;
x_3 = x_18;
goto _start;
}
}
}
}
LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__3(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
uint8_t x_3; 
x_3 = !lean_is_exclusive(x_1);
if (x_3 == 0)
{
return x_1;
}
else
{
lean_object* x_4; lean_object* x_5; 
x_4 = lean_ctor_get(x_1, 0);
lean_inc(x_4);
lean_dec(x_1);
x_5 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_5, 0, x_4);
return x_5;
}
}
else
{
uint8_t x_6; 
x_6 = !lean_is_exclusive(x_1);
if (x_6 == 0)
{
return x_1;
}
else
{
lean_object* x_7; lean_object* x_8; 
x_7 = lean_ctor_get(x_1, 0);
lean_inc(x_7);
lean_dec(x_1);
x_8 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_8, 0, x_7);
return x_8;
}
}
}
}
static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__4___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("unknown DiagnosticTag", 21, 21);
return x_1;
}
}
static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__4___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__4___closed__1;
x_2 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__4___closed__3() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = lean_box(x_1);
x_3 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_3, 0, x_2);
return x_3;
}
}
static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__4___closed__4() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 0;
x_2 = lean_box(x_1);
x_3 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_3, 0, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__4(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
uint8_t x_5; 
x_5 = lean_usize_dec_lt(x_2, x_1);
if (x_5 == 0)
{
lean_object* x_6; 
x_6 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_6, 0, x_3);
return x_6;
}
else
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; 
x_7 = lean_array_uget(x_3, x_2);
x_8 = lean_unsigned_to_nat(0u);
x_9 = lean_array_uset(x_3, x_2, x_8);
x_10 = l_Lean_Json_getNat_x3f(x_7);
if (lean_obj_tag(x_10) == 0)
{
lean_object* x_11; lean_object* x_12; 
lean_dec(x_10);
x_11 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__4___closed__2;
x_12 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__3(x_11, x_4);
if (lean_obj_tag(x_12) == 0)
{
uint8_t x_13; 
lean_dec(x_9);
x_13 = !lean_is_exclusive(x_12);
if (x_13 == 0)
{
return x_12;
}
else
{
lean_object* x_14; lean_object* x_15; 
x_14 = lean_ctor_get(x_12, 0);
lean_inc(x_14);
lean_dec(x_12);
x_15 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_15, 0, x_14);
return x_15;
}
}
else
{
lean_object* x_16; size_t x_17; size_t x_18; lean_object* x_19; 
x_16 = lean_ctor_get(x_12, 0);
lean_inc(x_16);
lean_dec(x_12);
x_17 = 1;
x_18 = lean_usize_add(x_2, x_17);
x_19 = lean_array_uset(x_9, x_2, x_16);
x_2 = x_18;
x_3 = x_19;
goto _start;
}
}
else
{
lean_object* x_21; lean_object* x_22; uint8_t x_23; 
x_21 = lean_ctor_get(x_10, 0);
lean_inc(x_21);
lean_dec(x_10);
x_22 = lean_unsigned_to_nat(1u);
x_23 = lean_nat_dec_eq(x_21, x_22);
if (x_23 == 0)
{
lean_object* x_24; uint8_t x_25; 
x_24 = lean_unsigned_to_nat(2u);
x_25 = lean_nat_dec_eq(x_21, x_24);
lean_dec(x_21);
if (x_25 == 0)
{
lean_object* x_26; lean_object* x_27; 
x_26 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__4___closed__2;
x_27 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__3(x_26, x_4);
if (lean_obj_tag(x_27) == 0)
{
uint8_t x_28; 
lean_dec(x_9);
x_28 = !lean_is_exclusive(x_27);
if (x_28 == 0)
{
return x_27;
}
else
{
lean_object* x_29; lean_object* x_30; 
x_29 = lean_ctor_get(x_27, 0);
lean_inc(x_29);
lean_dec(x_27);
x_30 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_30, 0, x_29);
return x_30;
}
}
else
{
lean_object* x_31; size_t x_32; size_t x_33; lean_object* x_34; 
x_31 = lean_ctor_get(x_27, 0);
lean_inc(x_31);
lean_dec(x_27);
x_32 = 1;
x_33 = lean_usize_add(x_2, x_32);
x_34 = lean_array_uset(x_9, x_2, x_31);
x_2 = x_33;
x_3 = x_34;
goto _start;
}
}
else
{
lean_object* x_36; lean_object* x_37; 
x_36 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__4___closed__3;
x_37 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__3(x_36, x_4);
if (lean_obj_tag(x_37) == 0)
{
uint8_t x_38; 
lean_dec(x_9);
x_38 = !lean_is_exclusive(x_37);
if (x_38 == 0)
{
return x_37;
}
else
{
lean_object* x_39; lean_object* x_40; 
x_39 = lean_ctor_get(x_37, 0);
lean_inc(x_39);
lean_dec(x_37);
x_40 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_40, 0, x_39);
return x_40;
}
}
else
{
lean_object* x_41; size_t x_42; size_t x_43; lean_object* x_44; 
x_41 = lean_ctor_get(x_37, 0);
lean_inc(x_41);
lean_dec(x_37);
x_42 = 1;
x_43 = lean_usize_add(x_2, x_42);
x_44 = lean_array_uset(x_9, x_2, x_41);
x_2 = x_43;
x_3 = x_44;
goto _start;
}
}
}
else
{
lean_object* x_46; lean_object* x_47; 
lean_dec(x_21);
x_46 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__4___closed__4;
x_47 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__3(x_46, x_4);
if (lean_obj_tag(x_47) == 0)
{
uint8_t x_48; 
lean_dec(x_9);
x_48 = !lean_is_exclusive(x_47);
if (x_48 == 0)
{
return x_47;
}
else
{
lean_object* x_49; lean_object* x_50; 
x_49 = lean_ctor_get(x_47, 0);
lean_inc(x_49);
lean_dec(x_47);
x_50 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_50, 0, x_49);
return x_50;
}
}
else
{
lean_object* x_51; size_t x_52; size_t x_53; lean_object* x_54; 
x_51 = lean_ctor_get(x_47, 0);
lean_inc(x_51);
lean_dec(x_47);
x_52 = 1;
x_53 = lean_usize_add(x_2, x_52);
x_54 = lean_array_uset(x_9, x_2, x_51);
x_2 = x_53;
x_3 = x_54;
goto _start;
}
}
}
}
}
}
LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__5(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
uint8_t x_3; 
x_3 = !lean_is_exclusive(x_1);
if (x_3 == 0)
{
return x_1;
}
else
{
lean_object* x_4; lean_object* x_5; 
x_4 = lean_ctor_get(x_1, 0);
lean_inc(x_4);
lean_dec(x_1);
x_5 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_5, 0, x_4);
return x_5;
}
}
else
{
uint8_t x_6; 
x_6 = !lean_is_exclusive(x_1);
if (x_6 == 0)
{
return x_1;
}
else
{
lean_object* x_7; lean_object* x_8; 
x_7 = lean_ctor_get(x_1, 0);
lean_inc(x_7);
lean_dec(x_1);
x_8 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_8, 0, x_7);
return x_8;
}
}
}
}
LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__6(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
uint8_t x_3; 
x_3 = !lean_is_exclusive(x_1);
if (x_3 == 0)
{
return x_1;
}
else
{
lean_object* x_4; lean_object* x_5; 
x_4 = lean_ctor_get(x_1, 0);
lean_inc(x_4);
lean_dec(x_1);
x_5 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_5, 0, x_4);
return x_5;
}
}
else
{
uint8_t x_6; 
x_6 = !lean_is_exclusive(x_1);
if (x_6 == 0)
{
return x_1;
}
else
{
lean_object* x_7; lean_object* x_8; 
x_7 = lean_ctor_get(x_1, 0);
lean_inc(x_7);
lean_dec(x_1);
x_8 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_8, 0, x_7);
return x_8;
}
}
}
}
static lean_object* _init_l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("expected string or integer diagnostic code, got '", 49, 49);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("unknown DiagnosticSeverity '", 28, 28);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__3() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 3;
x_2 = lean_box(x_1);
x_3 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_3, 0, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__4() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 2;
x_2 = lean_box(x_1);
x_3 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_3, 0, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__5() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = lean_box(x_1);
x_3 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_3, 0, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__6() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 0;
x_2 = lean_box(x_1);
x_3 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_3, 0, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; 
x_4 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924_(x_2);
x_5 = lean_ctor_get(x_4, 0);
lean_inc(x_5);
if (lean_is_exclusive(x_4)) {
 lean_ctor_release(x_4, 0);
 x_6 = x_4;
} else {
 lean_dec_ref(x_4);
 x_6 = lean_box(0);
}
x_7 = lean_ctor_get(x_5, 0);
lean_inc(x_7);
x_8 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonRange____x40_Lean_Data_Lsp_Basic___hyg_786_(x_7);
x_9 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveTermGoal_instRpcEncodableInteractiveTermGoal_dec____x40_Lean_Widget_InteractiveGoal___hyg_2335____spec__1(x_8, x_3);
if (lean_obj_tag(x_9) == 0)
{
uint8_t x_10; 
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_3);
lean_dec(x_1);
x_10 = !lean_is_exclusive(x_9);
if (x_10 == 0)
{
return x_9;
}
else
{
lean_object* x_11; lean_object* x_12; 
x_11 = lean_ctor_get(x_9, 0);
lean_inc(x_11);
lean_dec(x_9);
x_12 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_12, 0, x_11);
return x_12;
}
}
else
{
lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_2139; 
x_13 = lean_ctor_get(x_9, 0);
lean_inc(x_13);
if (lean_is_exclusive(x_9)) {
 lean_ctor_release(x_9, 0);
 x_14 = x_9;
} else {
 lean_dec_ref(x_9);
 x_14 = lean_box(0);
}
x_2139 = lean_ctor_get(x_5, 1);
lean_inc(x_2139);
if (lean_obj_tag(x_2139) == 0)
{
lean_object* x_2140; 
x_2140 = lean_box(0);
x_15 = x_2140;
goto block_2138;
}
else
{
uint8_t x_2141; 
x_2141 = !lean_is_exclusive(x_2139);
if (x_2141 == 0)
{
lean_object* x_2142; lean_object* x_2143; lean_object* x_2144; 
x_2142 = lean_ctor_get(x_2139, 0);
x_2143 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonRange____x40_Lean_Data_Lsp_Basic___hyg_786_(x_2142);
x_2144 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveTermGoal_instRpcEncodableInteractiveTermGoal_dec____x40_Lean_Widget_InteractiveGoal___hyg_2335____spec__1(x_2143, x_3);
if (lean_obj_tag(x_2144) == 0)
{
uint8_t x_2145; 
lean_free_object(x_2139);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_3);
lean_dec(x_1);
x_2145 = !lean_is_exclusive(x_2144);
if (x_2145 == 0)
{
return x_2144;
}
else
{
lean_object* x_2146; lean_object* x_2147; 
x_2146 = lean_ctor_get(x_2144, 0);
lean_inc(x_2146);
lean_dec(x_2144);
x_2147 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2147, 0, x_2146);
return x_2147;
}
}
else
{
lean_object* x_2148; 
x_2148 = lean_ctor_get(x_2144, 0);
lean_inc(x_2148);
lean_dec(x_2144);
lean_ctor_set(x_2139, 0, x_2148);
x_15 = x_2139;
goto block_2138;
}
}
else
{
lean_object* x_2149; lean_object* x_2150; lean_object* x_2151; 
x_2149 = lean_ctor_get(x_2139, 0);
lean_inc(x_2149);
lean_dec(x_2139);
x_2150 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonRange____x40_Lean_Data_Lsp_Basic___hyg_786_(x_2149);
x_2151 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveTermGoal_instRpcEncodableInteractiveTermGoal_dec____x40_Lean_Widget_InteractiveGoal___hyg_2335____spec__1(x_2150, x_3);
if (lean_obj_tag(x_2151) == 0)
{
lean_object* x_2152; lean_object* x_2153; lean_object* x_2154; 
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_3);
lean_dec(x_1);
x_2152 = lean_ctor_get(x_2151, 0);
lean_inc(x_2152);
if (lean_is_exclusive(x_2151)) {
 lean_ctor_release(x_2151, 0);
 x_2153 = x_2151;
} else {
 lean_dec_ref(x_2151);
 x_2153 = lean_box(0);
}
if (lean_is_scalar(x_2153)) {
 x_2154 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2154 = x_2153;
}
lean_ctor_set(x_2154, 0, x_2152);
return x_2154;
}
else
{
lean_object* x_2155; lean_object* x_2156; 
x_2155 = lean_ctor_get(x_2151, 0);
lean_inc(x_2155);
lean_dec(x_2151);
x_2156 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_2156, 0, x_2155);
x_15 = x_2156;
goto block_2138;
}
}
}
block_2138:
{
lean_object* x_16; lean_object* x_933; 
x_933 = lean_ctor_get(x_5, 2);
lean_inc(x_933);
if (lean_obj_tag(x_933) == 0)
{
lean_object* x_934; lean_object* x_935; lean_object* x_1826; lean_object* x_1833; 
lean_dec(x_14);
lean_dec(x_6);
x_934 = lean_box(0);
x_1833 = lean_ctor_get(x_5, 3);
lean_inc(x_1833);
if (lean_obj_tag(x_1833) == 0)
{
x_935 = x_934;
goto block_1825;
}
else
{
uint8_t x_1834; 
x_1834 = !lean_is_exclusive(x_1833);
if (x_1834 == 0)
{
lean_object* x_1835; 
x_1835 = lean_ctor_get(x_1833, 0);
switch (lean_obj_tag(x_1835)) {
case 2:
{
lean_object* x_1836; lean_object* x_1837; lean_object* x_1838; lean_object* x_1839; uint8_t x_1840; 
x_1836 = lean_ctor_get(x_1835, 0);
lean_inc(x_1836);
x_1837 = lean_ctor_get(x_1836, 0);
lean_inc(x_1837);
x_1838 = lean_ctor_get(x_1836, 1);
lean_inc(x_1838);
lean_dec(x_1836);
x_1839 = lean_unsigned_to_nat(0u);
x_1840 = lean_nat_dec_eq(x_1838, x_1839);
lean_dec(x_1838);
if (x_1840 == 0)
{
lean_object* x_1841; lean_object* x_1842; uint8_t x_1843; 
lean_dec(x_1837);
lean_free_object(x_1833);
x_1841 = lean_unsigned_to_nat(80u);
lean_inc(x_1835);
x_1842 = l_Lean_Json_pretty(x_1835, x_1841);
x_1843 = !lean_is_exclusive(x_1835);
if (x_1843 == 0)
{
lean_object* x_1844; lean_object* x_1845; lean_object* x_1846; lean_object* x_1847; lean_object* x_1848; lean_object* x_1849; 
x_1844 = lean_ctor_get(x_1835, 0);
lean_dec(x_1844);
x_1845 = l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__1;
x_1846 = lean_string_append(x_1845, x_1842);
lean_dec(x_1842);
x_1847 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_1848 = lean_string_append(x_1846, x_1847);
lean_ctor_set_tag(x_1835, 0);
lean_ctor_set(x_1835, 0, x_1848);
x_1849 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__5(x_1835, x_3);
x_1826 = x_1849;
goto block_1832;
}
else
{
lean_object* x_1850; lean_object* x_1851; lean_object* x_1852; lean_object* x_1853; lean_object* x_1854; lean_object* x_1855; 
lean_dec(x_1835);
x_1850 = l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__1;
x_1851 = lean_string_append(x_1850, x_1842);
lean_dec(x_1842);
x_1852 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_1853 = lean_string_append(x_1851, x_1852);
x_1854 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_1854, 0, x_1853);
x_1855 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__5(x_1854, x_3);
x_1826 = x_1855;
goto block_1832;
}
}
else
{
uint8_t x_1856; 
x_1856 = !lean_is_exclusive(x_1835);
if (x_1856 == 0)
{
lean_object* x_1857; lean_object* x_1858; 
x_1857 = lean_ctor_get(x_1835, 0);
lean_dec(x_1857);
lean_ctor_set_tag(x_1835, 0);
lean_ctor_set(x_1835, 0, x_1837);
x_1858 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__5(x_1833, x_3);
x_1826 = x_1858;
goto block_1832;
}
else
{
lean_object* x_1859; lean_object* x_1860; 
lean_dec(x_1835);
x_1859 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_1859, 0, x_1837);
lean_ctor_set(x_1833, 0, x_1859);
x_1860 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__5(x_1833, x_3);
x_1826 = x_1860;
goto block_1832;
}
}
}
case 3:
{
uint8_t x_1861; 
x_1861 = !lean_is_exclusive(x_1835);
if (x_1861 == 0)
{
lean_object* x_1862; 
lean_ctor_set_tag(x_1835, 1);
x_1862 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__5(x_1833, x_3);
x_1826 = x_1862;
goto block_1832;
}
else
{
lean_object* x_1863; lean_object* x_1864; lean_object* x_1865; 
x_1863 = lean_ctor_get(x_1835, 0);
lean_inc(x_1863);
lean_dec(x_1835);
x_1864 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_1864, 0, x_1863);
lean_ctor_set(x_1833, 0, x_1864);
x_1865 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__5(x_1833, x_3);
x_1826 = x_1865;
goto block_1832;
}
}
case 4:
{
lean_object* x_1866; lean_object* x_1867; uint8_t x_1868; 
lean_free_object(x_1833);
x_1866 = lean_unsigned_to_nat(80u);
lean_inc(x_1835);
x_1867 = l_Lean_Json_pretty(x_1835, x_1866);
x_1868 = !lean_is_exclusive(x_1835);
if (x_1868 == 0)
{
lean_object* x_1869; lean_object* x_1870; lean_object* x_1871; lean_object* x_1872; lean_object* x_1873; lean_object* x_1874; 
x_1869 = lean_ctor_get(x_1835, 0);
lean_dec(x_1869);
x_1870 = l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__1;
x_1871 = lean_string_append(x_1870, x_1867);
lean_dec(x_1867);
x_1872 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_1873 = lean_string_append(x_1871, x_1872);
lean_ctor_set_tag(x_1835, 0);
lean_ctor_set(x_1835, 0, x_1873);
x_1874 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__5(x_1835, x_3);
x_1826 = x_1874;
goto block_1832;
}
else
{
lean_object* x_1875; lean_object* x_1876; lean_object* x_1877; lean_object* x_1878; lean_object* x_1879; lean_object* x_1880; 
lean_dec(x_1835);
x_1875 = l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__1;
x_1876 = lean_string_append(x_1875, x_1867);
lean_dec(x_1867);
x_1877 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_1878 = lean_string_append(x_1876, x_1877);
x_1879 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_1879, 0, x_1878);
x_1880 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__5(x_1879, x_3);
x_1826 = x_1880;
goto block_1832;
}
}
case 5:
{
lean_object* x_1881; lean_object* x_1882; uint8_t x_1883; 
lean_free_object(x_1833);
x_1881 = lean_unsigned_to_nat(80u);
lean_inc(x_1835);
x_1882 = l_Lean_Json_pretty(x_1835, x_1881);
x_1883 = !lean_is_exclusive(x_1835);
if (x_1883 == 0)
{
lean_object* x_1884; lean_object* x_1885; lean_object* x_1886; lean_object* x_1887; lean_object* x_1888; lean_object* x_1889; 
x_1884 = lean_ctor_get(x_1835, 0);
lean_dec(x_1884);
x_1885 = l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__1;
x_1886 = lean_string_append(x_1885, x_1882);
lean_dec(x_1882);
x_1887 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_1888 = lean_string_append(x_1886, x_1887);
lean_ctor_set_tag(x_1835, 0);
lean_ctor_set(x_1835, 0, x_1888);
x_1889 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__5(x_1835, x_3);
x_1826 = x_1889;
goto block_1832;
}
else
{
lean_object* x_1890; lean_object* x_1891; lean_object* x_1892; lean_object* x_1893; lean_object* x_1894; lean_object* x_1895; 
lean_dec(x_1835);
x_1890 = l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__1;
x_1891 = lean_string_append(x_1890, x_1882);
lean_dec(x_1882);
x_1892 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_1893 = lean_string_append(x_1891, x_1892);
x_1894 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_1894, 0, x_1893);
x_1895 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__5(x_1894, x_3);
x_1826 = x_1895;
goto block_1832;
}
}
default: 
{
lean_object* x_1896; lean_object* x_1897; lean_object* x_1898; lean_object* x_1899; lean_object* x_1900; lean_object* x_1901; lean_object* x_1902; 
x_1896 = lean_unsigned_to_nat(80u);
x_1897 = l_Lean_Json_pretty(x_1835, x_1896);
x_1898 = l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__1;
x_1899 = lean_string_append(x_1898, x_1897);
lean_dec(x_1897);
x_1900 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_1901 = lean_string_append(x_1899, x_1900);
lean_ctor_set_tag(x_1833, 0);
lean_ctor_set(x_1833, 0, x_1901);
x_1902 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__5(x_1833, x_3);
x_1826 = x_1902;
goto block_1832;
}
}
}
else
{
lean_object* x_1903; 
x_1903 = lean_ctor_get(x_1833, 0);
lean_inc(x_1903);
lean_dec(x_1833);
switch (lean_obj_tag(x_1903)) {
case 2:
{
lean_object* x_1904; lean_object* x_1905; lean_object* x_1906; lean_object* x_1907; uint8_t x_1908; 
x_1904 = lean_ctor_get(x_1903, 0);
lean_inc(x_1904);
x_1905 = lean_ctor_get(x_1904, 0);
lean_inc(x_1905);
x_1906 = lean_ctor_get(x_1904, 1);
lean_inc(x_1906);
lean_dec(x_1904);
x_1907 = lean_unsigned_to_nat(0u);
x_1908 = lean_nat_dec_eq(x_1906, x_1907);
lean_dec(x_1906);
if (x_1908 == 0)
{
lean_object* x_1909; lean_object* x_1910; lean_object* x_1911; lean_object* x_1912; lean_object* x_1913; lean_object* x_1914; lean_object* x_1915; lean_object* x_1916; lean_object* x_1917; 
lean_dec(x_1905);
x_1909 = lean_unsigned_to_nat(80u);
lean_inc(x_1903);
x_1910 = l_Lean_Json_pretty(x_1903, x_1909);
if (lean_is_exclusive(x_1903)) {
 lean_ctor_release(x_1903, 0);
 x_1911 = x_1903;
} else {
 lean_dec_ref(x_1903);
 x_1911 = lean_box(0);
}
x_1912 = l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__1;
x_1913 = lean_string_append(x_1912, x_1910);
lean_dec(x_1910);
x_1914 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_1915 = lean_string_append(x_1913, x_1914);
if (lean_is_scalar(x_1911)) {
 x_1916 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1916 = x_1911;
 lean_ctor_set_tag(x_1916, 0);
}
lean_ctor_set(x_1916, 0, x_1915);
x_1917 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__5(x_1916, x_3);
x_1826 = x_1917;
goto block_1832;
}
else
{
lean_object* x_1918; lean_object* x_1919; lean_object* x_1920; lean_object* x_1921; 
if (lean_is_exclusive(x_1903)) {
 lean_ctor_release(x_1903, 0);
 x_1918 = x_1903;
} else {
 lean_dec_ref(x_1903);
 x_1918 = lean_box(0);
}
if (lean_is_scalar(x_1918)) {
 x_1919 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1919 = x_1918;
 lean_ctor_set_tag(x_1919, 0);
}
lean_ctor_set(x_1919, 0, x_1905);
x_1920 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_1920, 0, x_1919);
x_1921 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__5(x_1920, x_3);
x_1826 = x_1921;
goto block_1832;
}
}
case 3:
{
lean_object* x_1922; lean_object* x_1923; lean_object* x_1924; lean_object* x_1925; lean_object* x_1926; 
x_1922 = lean_ctor_get(x_1903, 0);
lean_inc(x_1922);
if (lean_is_exclusive(x_1903)) {
 lean_ctor_release(x_1903, 0);
 x_1923 = x_1903;
} else {
 lean_dec_ref(x_1903);
 x_1923 = lean_box(0);
}
if (lean_is_scalar(x_1923)) {
 x_1924 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1924 = x_1923;
 lean_ctor_set_tag(x_1924, 1);
}
lean_ctor_set(x_1924, 0, x_1922);
x_1925 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_1925, 0, x_1924);
x_1926 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__5(x_1925, x_3);
x_1826 = x_1926;
goto block_1832;
}
case 4:
{
lean_object* x_1927; lean_object* x_1928; lean_object* x_1929; lean_object* x_1930; lean_object* x_1931; lean_object* x_1932; lean_object* x_1933; lean_object* x_1934; lean_object* x_1935; 
x_1927 = lean_unsigned_to_nat(80u);
lean_inc(x_1903);
x_1928 = l_Lean_Json_pretty(x_1903, x_1927);
if (lean_is_exclusive(x_1903)) {
 lean_ctor_release(x_1903, 0);
 x_1929 = x_1903;
} else {
 lean_dec_ref(x_1903);
 x_1929 = lean_box(0);
}
x_1930 = l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__1;
x_1931 = lean_string_append(x_1930, x_1928);
lean_dec(x_1928);
x_1932 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_1933 = lean_string_append(x_1931, x_1932);
if (lean_is_scalar(x_1929)) {
 x_1934 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1934 = x_1929;
 lean_ctor_set_tag(x_1934, 0);
}
lean_ctor_set(x_1934, 0, x_1933);
x_1935 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__5(x_1934, x_3);
x_1826 = x_1935;
goto block_1832;
}
case 5:
{
lean_object* x_1936; lean_object* x_1937; lean_object* x_1938; lean_object* x_1939; lean_object* x_1940; lean_object* x_1941; lean_object* x_1942; lean_object* x_1943; lean_object* x_1944; 
x_1936 = lean_unsigned_to_nat(80u);
lean_inc(x_1903);
x_1937 = l_Lean_Json_pretty(x_1903, x_1936);
if (lean_is_exclusive(x_1903)) {
 lean_ctor_release(x_1903, 0);
 x_1938 = x_1903;
} else {
 lean_dec_ref(x_1903);
 x_1938 = lean_box(0);
}
x_1939 = l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__1;
x_1940 = lean_string_append(x_1939, x_1937);
lean_dec(x_1937);
x_1941 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_1942 = lean_string_append(x_1940, x_1941);
if (lean_is_scalar(x_1938)) {
 x_1943 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1943 = x_1938;
 lean_ctor_set_tag(x_1943, 0);
}
lean_ctor_set(x_1943, 0, x_1942);
x_1944 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__5(x_1943, x_3);
x_1826 = x_1944;
goto block_1832;
}
default: 
{
lean_object* x_1945; lean_object* x_1946; lean_object* x_1947; lean_object* x_1948; lean_object* x_1949; lean_object* x_1950; lean_object* x_1951; lean_object* x_1952; 
x_1945 = lean_unsigned_to_nat(80u);
x_1946 = l_Lean_Json_pretty(x_1903, x_1945);
x_1947 = l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__1;
x_1948 = lean_string_append(x_1947, x_1946);
lean_dec(x_1946);
x_1949 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_1950 = lean_string_append(x_1948, x_1949);
x_1951 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_1951, 0, x_1950);
x_1952 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__5(x_1951, x_3);
x_1826 = x_1952;
goto block_1832;
}
}
}
}
block_1825:
{
lean_object* x_936; 
x_936 = lean_ctor_get(x_5, 4);
lean_inc(x_936);
if (lean_obj_tag(x_936) == 0)
{
lean_object* x_937; lean_object* x_938; lean_object* x_939; 
x_937 = lean_ctor_get(x_1, 1);
lean_inc(x_937);
lean_dec(x_1);
x_938 = lean_ctor_get(x_5, 5);
lean_inc(x_938);
lean_inc(x_3);
x_939 = lean_apply_2(x_937, x_938, x_3);
if (lean_obj_tag(x_939) == 0)
{
uint8_t x_940; 
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_940 = !lean_is_exclusive(x_939);
if (x_940 == 0)
{
return x_939;
}
else
{
lean_object* x_941; lean_object* x_942; 
x_941 = lean_ctor_get(x_939, 0);
lean_inc(x_941);
lean_dec(x_939);
x_942 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_942, 0, x_941);
return x_942;
}
}
else
{
lean_object* x_943; 
x_943 = lean_ctor_get(x_5, 6);
lean_inc(x_943);
if (lean_obj_tag(x_943) == 0)
{
lean_object* x_944; lean_object* x_945; lean_object* x_946; lean_object* x_975; 
x_944 = lean_ctor_get(x_939, 0);
lean_inc(x_944);
if (lean_is_exclusive(x_939)) {
 lean_ctor_release(x_939, 0);
 x_945 = x_939;
} else {
 lean_dec_ref(x_939);
 x_945 = lean_box(0);
}
x_975 = lean_ctor_get(x_5, 7);
lean_inc(x_975);
if (lean_obj_tag(x_975) == 0)
{
x_946 = x_934;
goto block_974;
}
else
{
uint8_t x_976; 
x_976 = !lean_is_exclusive(x_975);
if (x_976 == 0)
{
lean_object* x_977; 
x_977 = lean_ctor_get(x_975, 0);
switch (lean_obj_tag(x_977)) {
case 0:
{
lean_object* x_978; lean_object* x_979; lean_object* x_980; lean_object* x_981; lean_object* x_982; lean_object* x_983; lean_object* x_984; 
lean_free_object(x_975);
lean_dec(x_945);
lean_dec(x_944);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_978 = lean_unsigned_to_nat(80u);
x_979 = l_Lean_Json_pretty(x_977, x_978);
x_980 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_981 = lean_string_append(x_980, x_979);
lean_dec(x_979);
x_982 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_983 = lean_string_append(x_981, x_982);
x_984 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_984, 0, x_983);
return x_984;
}
case 1:
{
lean_object* x_985; lean_object* x_986; lean_object* x_987; lean_object* x_988; lean_object* x_989; lean_object* x_990; lean_object* x_991; 
lean_free_object(x_975);
lean_dec(x_945);
lean_dec(x_944);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_985 = lean_unsigned_to_nat(80u);
x_986 = l_Lean_Json_pretty(x_977, x_985);
x_987 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_988 = lean_string_append(x_987, x_986);
lean_dec(x_986);
x_989 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_990 = lean_string_append(x_988, x_989);
x_991 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_991, 0, x_990);
return x_991;
}
case 4:
{
lean_object* x_992; lean_object* x_993; size_t x_994; size_t x_995; lean_object* x_996; lean_object* x_997; lean_object* x_998; size_t x_999; lean_object* x_1000; 
x_992 = lean_ctor_get(x_977, 0);
lean_inc(x_992);
lean_dec(x_977);
x_993 = lean_array_get_size(x_992);
x_994 = lean_usize_of_nat(x_993);
lean_dec(x_993);
x_995 = 0;
x_996 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1661____spec__2(x_994, x_995, x_992);
x_997 = lean_ctor_get(x_996, 0);
lean_inc(x_997);
lean_dec(x_996);
x_998 = lean_array_get_size(x_997);
x_999 = lean_usize_of_nat(x_998);
lean_dec(x_998);
x_1000 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2(x_999, x_995, x_997, x_3);
if (lean_obj_tag(x_1000) == 0)
{
uint8_t x_1001; 
lean_free_object(x_975);
lean_dec(x_945);
lean_dec(x_944);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_1001 = !lean_is_exclusive(x_1000);
if (x_1001 == 0)
{
return x_1000;
}
else
{
lean_object* x_1002; lean_object* x_1003; 
x_1002 = lean_ctor_get(x_1000, 0);
lean_inc(x_1002);
lean_dec(x_1000);
x_1003 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_1003, 0, x_1002);
return x_1003;
}
}
else
{
lean_object* x_1004; 
x_1004 = lean_ctor_get(x_1000, 0);
lean_inc(x_1004);
lean_dec(x_1000);
lean_ctor_set(x_975, 0, x_1004);
x_946 = x_975;
goto block_974;
}
}
default: 
{
lean_object* x_1005; lean_object* x_1006; uint8_t x_1007; 
lean_free_object(x_975);
lean_dec(x_945);
lean_dec(x_944);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_1005 = lean_unsigned_to_nat(80u);
lean_inc(x_977);
x_1006 = l_Lean_Json_pretty(x_977, x_1005);
x_1007 = !lean_is_exclusive(x_977);
if (x_1007 == 0)
{
lean_object* x_1008; lean_object* x_1009; lean_object* x_1010; lean_object* x_1011; lean_object* x_1012; 
x_1008 = lean_ctor_get(x_977, 0);
lean_dec(x_1008);
x_1009 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_1010 = lean_string_append(x_1009, x_1006);
lean_dec(x_1006);
x_1011 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_1012 = lean_string_append(x_1010, x_1011);
lean_ctor_set_tag(x_977, 0);
lean_ctor_set(x_977, 0, x_1012);
return x_977;
}
else
{
lean_object* x_1013; lean_object* x_1014; lean_object* x_1015; lean_object* x_1016; lean_object* x_1017; 
lean_dec(x_977);
x_1013 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_1014 = lean_string_append(x_1013, x_1006);
lean_dec(x_1006);
x_1015 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_1016 = lean_string_append(x_1014, x_1015);
x_1017 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_1017, 0, x_1016);
return x_1017;
}
}
}
}
else
{
lean_object* x_1018; 
x_1018 = lean_ctor_get(x_975, 0);
lean_inc(x_1018);
lean_dec(x_975);
switch (lean_obj_tag(x_1018)) {
case 0:
{
lean_object* x_1019; lean_object* x_1020; lean_object* x_1021; lean_object* x_1022; lean_object* x_1023; lean_object* x_1024; lean_object* x_1025; 
lean_dec(x_945);
lean_dec(x_944);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_1019 = lean_unsigned_to_nat(80u);
x_1020 = l_Lean_Json_pretty(x_1018, x_1019);
x_1021 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_1022 = lean_string_append(x_1021, x_1020);
lean_dec(x_1020);
x_1023 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_1024 = lean_string_append(x_1022, x_1023);
x_1025 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_1025, 0, x_1024);
return x_1025;
}
case 1:
{
lean_object* x_1026; lean_object* x_1027; lean_object* x_1028; lean_object* x_1029; lean_object* x_1030; lean_object* x_1031; lean_object* x_1032; 
lean_dec(x_945);
lean_dec(x_944);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_1026 = lean_unsigned_to_nat(80u);
x_1027 = l_Lean_Json_pretty(x_1018, x_1026);
x_1028 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_1029 = lean_string_append(x_1028, x_1027);
lean_dec(x_1027);
x_1030 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_1031 = lean_string_append(x_1029, x_1030);
x_1032 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_1032, 0, x_1031);
return x_1032;
}
case 4:
{
lean_object* x_1033; lean_object* x_1034; size_t x_1035; size_t x_1036; lean_object* x_1037; lean_object* x_1038; lean_object* x_1039; size_t x_1040; lean_object* x_1041; 
x_1033 = lean_ctor_get(x_1018, 0);
lean_inc(x_1033);
lean_dec(x_1018);
x_1034 = lean_array_get_size(x_1033);
x_1035 = lean_usize_of_nat(x_1034);
lean_dec(x_1034);
x_1036 = 0;
x_1037 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1661____spec__2(x_1035, x_1036, x_1033);
x_1038 = lean_ctor_get(x_1037, 0);
lean_inc(x_1038);
lean_dec(x_1037);
x_1039 = lean_array_get_size(x_1038);
x_1040 = lean_usize_of_nat(x_1039);
lean_dec(x_1039);
x_1041 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2(x_1040, x_1036, x_1038, x_3);
if (lean_obj_tag(x_1041) == 0)
{
lean_object* x_1042; lean_object* x_1043; lean_object* x_1044; 
lean_dec(x_945);
lean_dec(x_944);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_1042 = lean_ctor_get(x_1041, 0);
lean_inc(x_1042);
if (lean_is_exclusive(x_1041)) {
 lean_ctor_release(x_1041, 0);
 x_1043 = x_1041;
} else {
 lean_dec_ref(x_1041);
 x_1043 = lean_box(0);
}
if (lean_is_scalar(x_1043)) {
 x_1044 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1044 = x_1043;
}
lean_ctor_set(x_1044, 0, x_1042);
return x_1044;
}
else
{
lean_object* x_1045; lean_object* x_1046; 
x_1045 = lean_ctor_get(x_1041, 0);
lean_inc(x_1045);
lean_dec(x_1041);
x_1046 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_1046, 0, x_1045);
x_946 = x_1046;
goto block_974;
}
}
default: 
{
lean_object* x_1047; lean_object* x_1048; lean_object* x_1049; lean_object* x_1050; lean_object* x_1051; lean_object* x_1052; lean_object* x_1053; lean_object* x_1054; 
lean_dec(x_945);
lean_dec(x_944);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_1047 = lean_unsigned_to_nat(80u);
lean_inc(x_1018);
x_1048 = l_Lean_Json_pretty(x_1018, x_1047);
if (lean_is_exclusive(x_1018)) {
 lean_ctor_release(x_1018, 0);
 x_1049 = x_1018;
} else {
 lean_dec_ref(x_1018);
 x_1049 = lean_box(0);
}
x_1050 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_1051 = lean_string_append(x_1050, x_1048);
lean_dec(x_1048);
x_1052 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_1053 = lean_string_append(x_1051, x_1052);
if (lean_is_scalar(x_1049)) {
 x_1054 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1054 = x_1049;
 lean_ctor_set_tag(x_1054, 0);
}
lean_ctor_set(x_1054, 0, x_1053);
return x_1054;
}
}
}
}
block_974:
{
lean_object* x_947; 
x_947 = lean_ctor_get(x_5, 8);
lean_inc(x_947);
lean_dec(x_5);
if (lean_obj_tag(x_947) == 0)
{
lean_object* x_948; lean_object* x_949; 
lean_dec(x_3);
x_948 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_948, 0, x_13);
lean_ctor_set(x_948, 1, x_15);
lean_ctor_set(x_948, 2, x_934);
lean_ctor_set(x_948, 3, x_935);
lean_ctor_set(x_948, 4, x_934);
lean_ctor_set(x_948, 5, x_944);
lean_ctor_set(x_948, 6, x_934);
lean_ctor_set(x_948, 7, x_946);
lean_ctor_set(x_948, 8, x_934);
if (lean_is_scalar(x_945)) {
 x_949 = lean_alloc_ctor(1, 1, 0);
} else {
 x_949 = x_945;
}
lean_ctor_set(x_949, 0, x_948);
return x_949;
}
else
{
uint8_t x_950; 
x_950 = !lean_is_exclusive(x_947);
if (x_950 == 0)
{
lean_object* x_951; lean_object* x_952; lean_object* x_953; 
x_951 = lean_ctor_get(x_947, 0);
if (lean_is_scalar(x_945)) {
 x_952 = lean_alloc_ctor(1, 1, 0);
} else {
 x_952 = x_945;
}
lean_ctor_set(x_952, 0, x_951);
x_953 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_WidgetInstance_instRpcEncodableWidgetInstance_dec____x40_Lean_Widget_Types___hyg_3____spec__2(x_952, x_3);
lean_dec(x_3);
if (lean_obj_tag(x_953) == 0)
{
uint8_t x_954; 
lean_free_object(x_947);
lean_dec(x_946);
lean_dec(x_944);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
x_954 = !lean_is_exclusive(x_953);
if (x_954 == 0)
{
return x_953;
}
else
{
lean_object* x_955; lean_object* x_956; 
x_955 = lean_ctor_get(x_953, 0);
lean_inc(x_955);
lean_dec(x_953);
x_956 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_956, 0, x_955);
return x_956;
}
}
else
{
uint8_t x_957; 
x_957 = !lean_is_exclusive(x_953);
if (x_957 == 0)
{
lean_object* x_958; lean_object* x_959; 
x_958 = lean_ctor_get(x_953, 0);
lean_ctor_set(x_947, 0, x_958);
x_959 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_959, 0, x_13);
lean_ctor_set(x_959, 1, x_15);
lean_ctor_set(x_959, 2, x_934);
lean_ctor_set(x_959, 3, x_935);
lean_ctor_set(x_959, 4, x_934);
lean_ctor_set(x_959, 5, x_944);
lean_ctor_set(x_959, 6, x_934);
lean_ctor_set(x_959, 7, x_946);
lean_ctor_set(x_959, 8, x_947);
lean_ctor_set(x_953, 0, x_959);
return x_953;
}
else
{
lean_object* x_960; lean_object* x_961; lean_object* x_962; 
x_960 = lean_ctor_get(x_953, 0);
lean_inc(x_960);
lean_dec(x_953);
lean_ctor_set(x_947, 0, x_960);
x_961 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_961, 0, x_13);
lean_ctor_set(x_961, 1, x_15);
lean_ctor_set(x_961, 2, x_934);
lean_ctor_set(x_961, 3, x_935);
lean_ctor_set(x_961, 4, x_934);
lean_ctor_set(x_961, 5, x_944);
lean_ctor_set(x_961, 6, x_934);
lean_ctor_set(x_961, 7, x_946);
lean_ctor_set(x_961, 8, x_947);
x_962 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_962, 0, x_961);
return x_962;
}
}
}
else
{
lean_object* x_963; lean_object* x_964; lean_object* x_965; 
x_963 = lean_ctor_get(x_947, 0);
lean_inc(x_963);
lean_dec(x_947);
if (lean_is_scalar(x_945)) {
 x_964 = lean_alloc_ctor(1, 1, 0);
} else {
 x_964 = x_945;
}
lean_ctor_set(x_964, 0, x_963);
x_965 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_WidgetInstance_instRpcEncodableWidgetInstance_dec____x40_Lean_Widget_Types___hyg_3____spec__2(x_964, x_3);
lean_dec(x_3);
if (lean_obj_tag(x_965) == 0)
{
lean_object* x_966; lean_object* x_967; lean_object* x_968; 
lean_dec(x_946);
lean_dec(x_944);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
x_966 = lean_ctor_get(x_965, 0);
lean_inc(x_966);
if (lean_is_exclusive(x_965)) {
 lean_ctor_release(x_965, 0);
 x_967 = x_965;
} else {
 lean_dec_ref(x_965);
 x_967 = lean_box(0);
}
if (lean_is_scalar(x_967)) {
 x_968 = lean_alloc_ctor(0, 1, 0);
} else {
 x_968 = x_967;
}
lean_ctor_set(x_968, 0, x_966);
return x_968;
}
else
{
lean_object* x_969; lean_object* x_970; lean_object* x_971; lean_object* x_972; lean_object* x_973; 
x_969 = lean_ctor_get(x_965, 0);
lean_inc(x_969);
if (lean_is_exclusive(x_965)) {
 lean_ctor_release(x_965, 0);
 x_970 = x_965;
} else {
 lean_dec_ref(x_965);
 x_970 = lean_box(0);
}
x_971 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_971, 0, x_969);
x_972 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_972, 0, x_13);
lean_ctor_set(x_972, 1, x_15);
lean_ctor_set(x_972, 2, x_934);
lean_ctor_set(x_972, 3, x_935);
lean_ctor_set(x_972, 4, x_934);
lean_ctor_set(x_972, 5, x_944);
lean_ctor_set(x_972, 6, x_934);
lean_ctor_set(x_972, 7, x_946);
lean_ctor_set(x_972, 8, x_971);
if (lean_is_scalar(x_970)) {
 x_973 = lean_alloc_ctor(1, 1, 0);
} else {
 x_973 = x_970;
}
lean_ctor_set(x_973, 0, x_972);
return x_973;
}
}
}
}
}
else
{
uint8_t x_1055; 
x_1055 = !lean_is_exclusive(x_943);
if (x_1055 == 0)
{
lean_object* x_1056; 
x_1056 = lean_ctor_get(x_943, 0);
if (lean_obj_tag(x_1056) == 4)
{
lean_object* x_1057; lean_object* x_1058; lean_object* x_1059; size_t x_1060; size_t x_1061; lean_object* x_1062; uint8_t x_1063; 
x_1057 = lean_ctor_get(x_939, 0);
lean_inc(x_1057);
lean_dec(x_939);
x_1058 = lean_ctor_get(x_1056, 0);
lean_inc(x_1058);
lean_dec(x_1056);
x_1059 = lean_array_get_size(x_1058);
x_1060 = lean_usize_of_nat(x_1059);
lean_dec(x_1059);
x_1061 = 0;
x_1062 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1661____spec__2(x_1060, x_1061, x_1058);
x_1063 = !lean_is_exclusive(x_1062);
if (x_1063 == 0)
{
lean_object* x_1064; lean_object* x_1065; size_t x_1066; lean_object* x_1067; 
x_1064 = lean_ctor_get(x_1062, 0);
x_1065 = lean_array_get_size(x_1064);
x_1066 = lean_usize_of_nat(x_1065);
lean_dec(x_1065);
x_1067 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__4(x_1066, x_1061, x_1064, x_3);
if (lean_obj_tag(x_1067) == 0)
{
uint8_t x_1068; 
lean_free_object(x_1062);
lean_dec(x_1057);
lean_free_object(x_943);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_1068 = !lean_is_exclusive(x_1067);
if (x_1068 == 0)
{
return x_1067;
}
else
{
lean_object* x_1069; lean_object* x_1070; 
x_1069 = lean_ctor_get(x_1067, 0);
lean_inc(x_1069);
lean_dec(x_1067);
x_1070 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_1070, 0, x_1069);
return x_1070;
}
}
else
{
lean_object* x_1071; lean_object* x_1072; lean_object* x_1073; lean_object* x_1102; 
x_1071 = lean_ctor_get(x_1067, 0);
lean_inc(x_1071);
if (lean_is_exclusive(x_1067)) {
 lean_ctor_release(x_1067, 0);
 x_1072 = x_1067;
} else {
 lean_dec_ref(x_1067);
 x_1072 = lean_box(0);
}
lean_ctor_set(x_943, 0, x_1071);
x_1102 = lean_ctor_get(x_5, 7);
lean_inc(x_1102);
if (lean_obj_tag(x_1102) == 0)
{
lean_free_object(x_1062);
x_1073 = x_934;
goto block_1101;
}
else
{
uint8_t x_1103; 
x_1103 = !lean_is_exclusive(x_1102);
if (x_1103 == 0)
{
lean_object* x_1104; 
x_1104 = lean_ctor_get(x_1102, 0);
if (lean_obj_tag(x_1104) == 4)
{
lean_object* x_1105; lean_object* x_1106; size_t x_1107; lean_object* x_1108; lean_object* x_1109; lean_object* x_1110; size_t x_1111; lean_object* x_1112; 
lean_free_object(x_1062);
x_1105 = lean_ctor_get(x_1104, 0);
lean_inc(x_1105);
lean_dec(x_1104);
x_1106 = lean_array_get_size(x_1105);
x_1107 = lean_usize_of_nat(x_1106);
lean_dec(x_1106);
x_1108 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1661____spec__2(x_1107, x_1061, x_1105);
x_1109 = lean_ctor_get(x_1108, 0);
lean_inc(x_1109);
lean_dec(x_1108);
x_1110 = lean_array_get_size(x_1109);
x_1111 = lean_usize_of_nat(x_1110);
lean_dec(x_1110);
x_1112 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2(x_1111, x_1061, x_1109, x_3);
if (lean_obj_tag(x_1112) == 0)
{
uint8_t x_1113; 
lean_free_object(x_1102);
lean_dec(x_943);
lean_dec(x_1072);
lean_dec(x_1057);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_1113 = !lean_is_exclusive(x_1112);
if (x_1113 == 0)
{
return x_1112;
}
else
{
lean_object* x_1114; lean_object* x_1115; 
x_1114 = lean_ctor_get(x_1112, 0);
lean_inc(x_1114);
lean_dec(x_1112);
x_1115 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_1115, 0, x_1114);
return x_1115;
}
}
else
{
lean_object* x_1116; 
x_1116 = lean_ctor_get(x_1112, 0);
lean_inc(x_1116);
lean_dec(x_1112);
lean_ctor_set(x_1102, 0, x_1116);
x_1073 = x_1102;
goto block_1101;
}
}
else
{
lean_object* x_1117; lean_object* x_1118; lean_object* x_1119; lean_object* x_1120; lean_object* x_1121; lean_object* x_1122; 
lean_free_object(x_1102);
lean_dec(x_943);
lean_dec(x_1072);
lean_dec(x_1057);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_1117 = lean_unsigned_to_nat(80u);
x_1118 = l_Lean_Json_pretty(x_1104, x_1117);
x_1119 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_1120 = lean_string_append(x_1119, x_1118);
lean_dec(x_1118);
x_1121 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_1122 = lean_string_append(x_1120, x_1121);
lean_ctor_set_tag(x_1062, 0);
lean_ctor_set(x_1062, 0, x_1122);
return x_1062;
}
}
else
{
lean_object* x_1123; 
x_1123 = lean_ctor_get(x_1102, 0);
lean_inc(x_1123);
lean_dec(x_1102);
if (lean_obj_tag(x_1123) == 4)
{
lean_object* x_1124; lean_object* x_1125; size_t x_1126; lean_object* x_1127; lean_object* x_1128; lean_object* x_1129; size_t x_1130; lean_object* x_1131; 
lean_free_object(x_1062);
x_1124 = lean_ctor_get(x_1123, 0);
lean_inc(x_1124);
lean_dec(x_1123);
x_1125 = lean_array_get_size(x_1124);
x_1126 = lean_usize_of_nat(x_1125);
lean_dec(x_1125);
x_1127 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1661____spec__2(x_1126, x_1061, x_1124);
x_1128 = lean_ctor_get(x_1127, 0);
lean_inc(x_1128);
lean_dec(x_1127);
x_1129 = lean_array_get_size(x_1128);
x_1130 = lean_usize_of_nat(x_1129);
lean_dec(x_1129);
x_1131 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2(x_1130, x_1061, x_1128, x_3);
if (lean_obj_tag(x_1131) == 0)
{
lean_object* x_1132; lean_object* x_1133; lean_object* x_1134; 
lean_dec(x_943);
lean_dec(x_1072);
lean_dec(x_1057);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_1132 = lean_ctor_get(x_1131, 0);
lean_inc(x_1132);
if (lean_is_exclusive(x_1131)) {
 lean_ctor_release(x_1131, 0);
 x_1133 = x_1131;
} else {
 lean_dec_ref(x_1131);
 x_1133 = lean_box(0);
}
if (lean_is_scalar(x_1133)) {
 x_1134 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1134 = x_1133;
}
lean_ctor_set(x_1134, 0, x_1132);
return x_1134;
}
else
{
lean_object* x_1135; lean_object* x_1136; 
x_1135 = lean_ctor_get(x_1131, 0);
lean_inc(x_1135);
lean_dec(x_1131);
x_1136 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_1136, 0, x_1135);
x_1073 = x_1136;
goto block_1101;
}
}
else
{
lean_object* x_1137; lean_object* x_1138; lean_object* x_1139; lean_object* x_1140; lean_object* x_1141; lean_object* x_1142; 
lean_dec(x_943);
lean_dec(x_1072);
lean_dec(x_1057);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_1137 = lean_unsigned_to_nat(80u);
x_1138 = l_Lean_Json_pretty(x_1123, x_1137);
x_1139 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_1140 = lean_string_append(x_1139, x_1138);
lean_dec(x_1138);
x_1141 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_1142 = lean_string_append(x_1140, x_1141);
lean_ctor_set_tag(x_1062, 0);
lean_ctor_set(x_1062, 0, x_1142);
return x_1062;
}
}
}
block_1101:
{
lean_object* x_1074; 
x_1074 = lean_ctor_get(x_5, 8);
lean_inc(x_1074);
lean_dec(x_5);
if (lean_obj_tag(x_1074) == 0)
{
lean_object* x_1075; lean_object* x_1076; 
lean_dec(x_3);
x_1075 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_1075, 0, x_13);
lean_ctor_set(x_1075, 1, x_15);
lean_ctor_set(x_1075, 2, x_934);
lean_ctor_set(x_1075, 3, x_935);
lean_ctor_set(x_1075, 4, x_934);
lean_ctor_set(x_1075, 5, x_1057);
lean_ctor_set(x_1075, 6, x_943);
lean_ctor_set(x_1075, 7, x_1073);
lean_ctor_set(x_1075, 8, x_934);
if (lean_is_scalar(x_1072)) {
 x_1076 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1076 = x_1072;
}
lean_ctor_set(x_1076, 0, x_1075);
return x_1076;
}
else
{
uint8_t x_1077; 
x_1077 = !lean_is_exclusive(x_1074);
if (x_1077 == 0)
{
lean_object* x_1078; lean_object* x_1079; lean_object* x_1080; 
x_1078 = lean_ctor_get(x_1074, 0);
if (lean_is_scalar(x_1072)) {
 x_1079 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1079 = x_1072;
}
lean_ctor_set(x_1079, 0, x_1078);
x_1080 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_WidgetInstance_instRpcEncodableWidgetInstance_dec____x40_Lean_Widget_Types___hyg_3____spec__2(x_1079, x_3);
lean_dec(x_3);
if (lean_obj_tag(x_1080) == 0)
{
uint8_t x_1081; 
lean_free_object(x_1074);
lean_dec(x_1073);
lean_dec(x_943);
lean_dec(x_1057);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
x_1081 = !lean_is_exclusive(x_1080);
if (x_1081 == 0)
{
return x_1080;
}
else
{
lean_object* x_1082; lean_object* x_1083; 
x_1082 = lean_ctor_get(x_1080, 0);
lean_inc(x_1082);
lean_dec(x_1080);
x_1083 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_1083, 0, x_1082);
return x_1083;
}
}
else
{
uint8_t x_1084; 
x_1084 = !lean_is_exclusive(x_1080);
if (x_1084 == 0)
{
lean_object* x_1085; lean_object* x_1086; 
x_1085 = lean_ctor_get(x_1080, 0);
lean_ctor_set(x_1074, 0, x_1085);
x_1086 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_1086, 0, x_13);
lean_ctor_set(x_1086, 1, x_15);
lean_ctor_set(x_1086, 2, x_934);
lean_ctor_set(x_1086, 3, x_935);
lean_ctor_set(x_1086, 4, x_934);
lean_ctor_set(x_1086, 5, x_1057);
lean_ctor_set(x_1086, 6, x_943);
lean_ctor_set(x_1086, 7, x_1073);
lean_ctor_set(x_1086, 8, x_1074);
lean_ctor_set(x_1080, 0, x_1086);
return x_1080;
}
else
{
lean_object* x_1087; lean_object* x_1088; lean_object* x_1089; 
x_1087 = lean_ctor_get(x_1080, 0);
lean_inc(x_1087);
lean_dec(x_1080);
lean_ctor_set(x_1074, 0, x_1087);
x_1088 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_1088, 0, x_13);
lean_ctor_set(x_1088, 1, x_15);
lean_ctor_set(x_1088, 2, x_934);
lean_ctor_set(x_1088, 3, x_935);
lean_ctor_set(x_1088, 4, x_934);
lean_ctor_set(x_1088, 5, x_1057);
lean_ctor_set(x_1088, 6, x_943);
lean_ctor_set(x_1088, 7, x_1073);
lean_ctor_set(x_1088, 8, x_1074);
x_1089 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_1089, 0, x_1088);
return x_1089;
}
}
}
else
{
lean_object* x_1090; lean_object* x_1091; lean_object* x_1092; 
x_1090 = lean_ctor_get(x_1074, 0);
lean_inc(x_1090);
lean_dec(x_1074);
if (lean_is_scalar(x_1072)) {
 x_1091 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1091 = x_1072;
}
lean_ctor_set(x_1091, 0, x_1090);
x_1092 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_WidgetInstance_instRpcEncodableWidgetInstance_dec____x40_Lean_Widget_Types___hyg_3____spec__2(x_1091, x_3);
lean_dec(x_3);
if (lean_obj_tag(x_1092) == 0)
{
lean_object* x_1093; lean_object* x_1094; lean_object* x_1095; 
lean_dec(x_1073);
lean_dec(x_943);
lean_dec(x_1057);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
x_1093 = lean_ctor_get(x_1092, 0);
lean_inc(x_1093);
if (lean_is_exclusive(x_1092)) {
 lean_ctor_release(x_1092, 0);
 x_1094 = x_1092;
} else {
 lean_dec_ref(x_1092);
 x_1094 = lean_box(0);
}
if (lean_is_scalar(x_1094)) {
 x_1095 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1095 = x_1094;
}
lean_ctor_set(x_1095, 0, x_1093);
return x_1095;
}
else
{
lean_object* x_1096; lean_object* x_1097; lean_object* x_1098; lean_object* x_1099; lean_object* x_1100; 
x_1096 = lean_ctor_get(x_1092, 0);
lean_inc(x_1096);
if (lean_is_exclusive(x_1092)) {
 lean_ctor_release(x_1092, 0);
 x_1097 = x_1092;
} else {
 lean_dec_ref(x_1092);
 x_1097 = lean_box(0);
}
x_1098 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_1098, 0, x_1096);
x_1099 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_1099, 0, x_13);
lean_ctor_set(x_1099, 1, x_15);
lean_ctor_set(x_1099, 2, x_934);
lean_ctor_set(x_1099, 3, x_935);
lean_ctor_set(x_1099, 4, x_934);
lean_ctor_set(x_1099, 5, x_1057);
lean_ctor_set(x_1099, 6, x_943);
lean_ctor_set(x_1099, 7, x_1073);
lean_ctor_set(x_1099, 8, x_1098);
if (lean_is_scalar(x_1097)) {
 x_1100 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1100 = x_1097;
}
lean_ctor_set(x_1100, 0, x_1099);
return x_1100;
}
}
}
}
}
}
else
{
lean_object* x_1143; lean_object* x_1144; size_t x_1145; lean_object* x_1146; 
x_1143 = lean_ctor_get(x_1062, 0);
lean_inc(x_1143);
lean_dec(x_1062);
x_1144 = lean_array_get_size(x_1143);
x_1145 = lean_usize_of_nat(x_1144);
lean_dec(x_1144);
x_1146 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__4(x_1145, x_1061, x_1143, x_3);
if (lean_obj_tag(x_1146) == 0)
{
lean_object* x_1147; lean_object* x_1148; lean_object* x_1149; 
lean_dec(x_1057);
lean_free_object(x_943);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_1147 = lean_ctor_get(x_1146, 0);
lean_inc(x_1147);
if (lean_is_exclusive(x_1146)) {
 lean_ctor_release(x_1146, 0);
 x_1148 = x_1146;
} else {
 lean_dec_ref(x_1146);
 x_1148 = lean_box(0);
}
if (lean_is_scalar(x_1148)) {
 x_1149 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1149 = x_1148;
}
lean_ctor_set(x_1149, 0, x_1147);
return x_1149;
}
else
{
lean_object* x_1150; lean_object* x_1151; lean_object* x_1152; lean_object* x_1169; 
x_1150 = lean_ctor_get(x_1146, 0);
lean_inc(x_1150);
if (lean_is_exclusive(x_1146)) {
 lean_ctor_release(x_1146, 0);
 x_1151 = x_1146;
} else {
 lean_dec_ref(x_1146);
 x_1151 = lean_box(0);
}
lean_ctor_set(x_943, 0, x_1150);
x_1169 = lean_ctor_get(x_5, 7);
lean_inc(x_1169);
if (lean_obj_tag(x_1169) == 0)
{
x_1152 = x_934;
goto block_1168;
}
else
{
lean_object* x_1170; lean_object* x_1171; 
x_1170 = lean_ctor_get(x_1169, 0);
lean_inc(x_1170);
if (lean_is_exclusive(x_1169)) {
 lean_ctor_release(x_1169, 0);
 x_1171 = x_1169;
} else {
 lean_dec_ref(x_1169);
 x_1171 = lean_box(0);
}
if (lean_obj_tag(x_1170) == 4)
{
lean_object* x_1172; lean_object* x_1173; size_t x_1174; lean_object* x_1175; lean_object* x_1176; lean_object* x_1177; size_t x_1178; lean_object* x_1179; 
x_1172 = lean_ctor_get(x_1170, 0);
lean_inc(x_1172);
lean_dec(x_1170);
x_1173 = lean_array_get_size(x_1172);
x_1174 = lean_usize_of_nat(x_1173);
lean_dec(x_1173);
x_1175 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1661____spec__2(x_1174, x_1061, x_1172);
x_1176 = lean_ctor_get(x_1175, 0);
lean_inc(x_1176);
lean_dec(x_1175);
x_1177 = lean_array_get_size(x_1176);
x_1178 = lean_usize_of_nat(x_1177);
lean_dec(x_1177);
x_1179 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2(x_1178, x_1061, x_1176, x_3);
if (lean_obj_tag(x_1179) == 0)
{
lean_object* x_1180; lean_object* x_1181; lean_object* x_1182; 
lean_dec(x_1171);
lean_dec(x_943);
lean_dec(x_1151);
lean_dec(x_1057);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_1180 = lean_ctor_get(x_1179, 0);
lean_inc(x_1180);
if (lean_is_exclusive(x_1179)) {
 lean_ctor_release(x_1179, 0);
 x_1181 = x_1179;
} else {
 lean_dec_ref(x_1179);
 x_1181 = lean_box(0);
}
if (lean_is_scalar(x_1181)) {
 x_1182 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1182 = x_1181;
}
lean_ctor_set(x_1182, 0, x_1180);
return x_1182;
}
else
{
lean_object* x_1183; lean_object* x_1184; 
x_1183 = lean_ctor_get(x_1179, 0);
lean_inc(x_1183);
lean_dec(x_1179);
if (lean_is_scalar(x_1171)) {
 x_1184 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1184 = x_1171;
}
lean_ctor_set(x_1184, 0, x_1183);
x_1152 = x_1184;
goto block_1168;
}
}
else
{
lean_object* x_1185; lean_object* x_1186; lean_object* x_1187; lean_object* x_1188; lean_object* x_1189; lean_object* x_1190; lean_object* x_1191; 
lean_dec(x_1171);
lean_dec(x_943);
lean_dec(x_1151);
lean_dec(x_1057);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_1185 = lean_unsigned_to_nat(80u);
x_1186 = l_Lean_Json_pretty(x_1170, x_1185);
x_1187 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_1188 = lean_string_append(x_1187, x_1186);
lean_dec(x_1186);
x_1189 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_1190 = lean_string_append(x_1188, x_1189);
x_1191 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_1191, 0, x_1190);
return x_1191;
}
}
block_1168:
{
lean_object* x_1153; 
x_1153 = lean_ctor_get(x_5, 8);
lean_inc(x_1153);
lean_dec(x_5);
if (lean_obj_tag(x_1153) == 0)
{
lean_object* x_1154; lean_object* x_1155; 
lean_dec(x_3);
x_1154 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_1154, 0, x_13);
lean_ctor_set(x_1154, 1, x_15);
lean_ctor_set(x_1154, 2, x_934);
lean_ctor_set(x_1154, 3, x_935);
lean_ctor_set(x_1154, 4, x_934);
lean_ctor_set(x_1154, 5, x_1057);
lean_ctor_set(x_1154, 6, x_943);
lean_ctor_set(x_1154, 7, x_1152);
lean_ctor_set(x_1154, 8, x_934);
if (lean_is_scalar(x_1151)) {
 x_1155 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1155 = x_1151;
}
lean_ctor_set(x_1155, 0, x_1154);
return x_1155;
}
else
{
lean_object* x_1156; lean_object* x_1157; lean_object* x_1158; lean_object* x_1159; 
x_1156 = lean_ctor_get(x_1153, 0);
lean_inc(x_1156);
if (lean_is_exclusive(x_1153)) {
 lean_ctor_release(x_1153, 0);
 x_1157 = x_1153;
} else {
 lean_dec_ref(x_1153);
 x_1157 = lean_box(0);
}
if (lean_is_scalar(x_1151)) {
 x_1158 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1158 = x_1151;
}
lean_ctor_set(x_1158, 0, x_1156);
x_1159 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_WidgetInstance_instRpcEncodableWidgetInstance_dec____x40_Lean_Widget_Types___hyg_3____spec__2(x_1158, x_3);
lean_dec(x_3);
if (lean_obj_tag(x_1159) == 0)
{
lean_object* x_1160; lean_object* x_1161; lean_object* x_1162; 
lean_dec(x_1157);
lean_dec(x_1152);
lean_dec(x_943);
lean_dec(x_1057);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
x_1160 = lean_ctor_get(x_1159, 0);
lean_inc(x_1160);
if (lean_is_exclusive(x_1159)) {
 lean_ctor_release(x_1159, 0);
 x_1161 = x_1159;
} else {
 lean_dec_ref(x_1159);
 x_1161 = lean_box(0);
}
if (lean_is_scalar(x_1161)) {
 x_1162 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1162 = x_1161;
}
lean_ctor_set(x_1162, 0, x_1160);
return x_1162;
}
else
{
lean_object* x_1163; lean_object* x_1164; lean_object* x_1165; lean_object* x_1166; lean_object* x_1167; 
x_1163 = lean_ctor_get(x_1159, 0);
lean_inc(x_1163);
if (lean_is_exclusive(x_1159)) {
 lean_ctor_release(x_1159, 0);
 x_1164 = x_1159;
} else {
 lean_dec_ref(x_1159);
 x_1164 = lean_box(0);
}
if (lean_is_scalar(x_1157)) {
 x_1165 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1165 = x_1157;
}
lean_ctor_set(x_1165, 0, x_1163);
x_1166 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_1166, 0, x_13);
lean_ctor_set(x_1166, 1, x_15);
lean_ctor_set(x_1166, 2, x_934);
lean_ctor_set(x_1166, 3, x_935);
lean_ctor_set(x_1166, 4, x_934);
lean_ctor_set(x_1166, 5, x_1057);
lean_ctor_set(x_1166, 6, x_943);
lean_ctor_set(x_1166, 7, x_1152);
lean_ctor_set(x_1166, 8, x_1165);
if (lean_is_scalar(x_1164)) {
 x_1167 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1167 = x_1164;
}
lean_ctor_set(x_1167, 0, x_1166);
return x_1167;
}
}
}
}
}
}
else
{
uint8_t x_1192; 
lean_free_object(x_943);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_1192 = !lean_is_exclusive(x_939);
if (x_1192 == 0)
{
lean_object* x_1193; lean_object* x_1194; lean_object* x_1195; lean_object* x_1196; lean_object* x_1197; lean_object* x_1198; lean_object* x_1199; 
x_1193 = lean_ctor_get(x_939, 0);
lean_dec(x_1193);
x_1194 = lean_unsigned_to_nat(80u);
x_1195 = l_Lean_Json_pretty(x_1056, x_1194);
x_1196 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_1197 = lean_string_append(x_1196, x_1195);
lean_dec(x_1195);
x_1198 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_1199 = lean_string_append(x_1197, x_1198);
lean_ctor_set_tag(x_939, 0);
lean_ctor_set(x_939, 0, x_1199);
return x_939;
}
else
{
lean_object* x_1200; lean_object* x_1201; lean_object* x_1202; lean_object* x_1203; lean_object* x_1204; lean_object* x_1205; lean_object* x_1206; 
lean_dec(x_939);
x_1200 = lean_unsigned_to_nat(80u);
x_1201 = l_Lean_Json_pretty(x_1056, x_1200);
x_1202 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_1203 = lean_string_append(x_1202, x_1201);
lean_dec(x_1201);
x_1204 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_1205 = lean_string_append(x_1203, x_1204);
x_1206 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_1206, 0, x_1205);
return x_1206;
}
}
}
else
{
lean_object* x_1207; 
x_1207 = lean_ctor_get(x_943, 0);
lean_inc(x_1207);
lean_dec(x_943);
if (lean_obj_tag(x_1207) == 4)
{
lean_object* x_1208; lean_object* x_1209; lean_object* x_1210; size_t x_1211; size_t x_1212; lean_object* x_1213; lean_object* x_1214; lean_object* x_1215; lean_object* x_1216; size_t x_1217; lean_object* x_1218; 
x_1208 = lean_ctor_get(x_939, 0);
lean_inc(x_1208);
lean_dec(x_939);
x_1209 = lean_ctor_get(x_1207, 0);
lean_inc(x_1209);
lean_dec(x_1207);
x_1210 = lean_array_get_size(x_1209);
x_1211 = lean_usize_of_nat(x_1210);
lean_dec(x_1210);
x_1212 = 0;
x_1213 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1661____spec__2(x_1211, x_1212, x_1209);
x_1214 = lean_ctor_get(x_1213, 0);
lean_inc(x_1214);
if (lean_is_exclusive(x_1213)) {
 lean_ctor_release(x_1213, 0);
 x_1215 = x_1213;
} else {
 lean_dec_ref(x_1213);
 x_1215 = lean_box(0);
}
x_1216 = lean_array_get_size(x_1214);
x_1217 = lean_usize_of_nat(x_1216);
lean_dec(x_1216);
x_1218 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__4(x_1217, x_1212, x_1214, x_3);
if (lean_obj_tag(x_1218) == 0)
{
lean_object* x_1219; lean_object* x_1220; lean_object* x_1221; 
lean_dec(x_1215);
lean_dec(x_1208);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_1219 = lean_ctor_get(x_1218, 0);
lean_inc(x_1219);
if (lean_is_exclusive(x_1218)) {
 lean_ctor_release(x_1218, 0);
 x_1220 = x_1218;
} else {
 lean_dec_ref(x_1218);
 x_1220 = lean_box(0);
}
if (lean_is_scalar(x_1220)) {
 x_1221 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1221 = x_1220;
}
lean_ctor_set(x_1221, 0, x_1219);
return x_1221;
}
else
{
lean_object* x_1222; lean_object* x_1223; lean_object* x_1224; lean_object* x_1225; lean_object* x_1242; 
x_1222 = lean_ctor_get(x_1218, 0);
lean_inc(x_1222);
if (lean_is_exclusive(x_1218)) {
 lean_ctor_release(x_1218, 0);
 x_1223 = x_1218;
} else {
 lean_dec_ref(x_1218);
 x_1223 = lean_box(0);
}
x_1224 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_1224, 0, x_1222);
x_1242 = lean_ctor_get(x_5, 7);
lean_inc(x_1242);
if (lean_obj_tag(x_1242) == 0)
{
lean_dec(x_1215);
x_1225 = x_934;
goto block_1241;
}
else
{
lean_object* x_1243; lean_object* x_1244; 
x_1243 = lean_ctor_get(x_1242, 0);
lean_inc(x_1243);
if (lean_is_exclusive(x_1242)) {
 lean_ctor_release(x_1242, 0);
 x_1244 = x_1242;
} else {
 lean_dec_ref(x_1242);
 x_1244 = lean_box(0);
}
if (lean_obj_tag(x_1243) == 4)
{
lean_object* x_1245; lean_object* x_1246; size_t x_1247; lean_object* x_1248; lean_object* x_1249; lean_object* x_1250; size_t x_1251; lean_object* x_1252; 
lean_dec(x_1215);
x_1245 = lean_ctor_get(x_1243, 0);
lean_inc(x_1245);
lean_dec(x_1243);
x_1246 = lean_array_get_size(x_1245);
x_1247 = lean_usize_of_nat(x_1246);
lean_dec(x_1246);
x_1248 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1661____spec__2(x_1247, x_1212, x_1245);
x_1249 = lean_ctor_get(x_1248, 0);
lean_inc(x_1249);
lean_dec(x_1248);
x_1250 = lean_array_get_size(x_1249);
x_1251 = lean_usize_of_nat(x_1250);
lean_dec(x_1250);
x_1252 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2(x_1251, x_1212, x_1249, x_3);
if (lean_obj_tag(x_1252) == 0)
{
lean_object* x_1253; lean_object* x_1254; lean_object* x_1255; 
lean_dec(x_1244);
lean_dec(x_1224);
lean_dec(x_1223);
lean_dec(x_1208);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_1253 = lean_ctor_get(x_1252, 0);
lean_inc(x_1253);
if (lean_is_exclusive(x_1252)) {
 lean_ctor_release(x_1252, 0);
 x_1254 = x_1252;
} else {
 lean_dec_ref(x_1252);
 x_1254 = lean_box(0);
}
if (lean_is_scalar(x_1254)) {
 x_1255 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1255 = x_1254;
}
lean_ctor_set(x_1255, 0, x_1253);
return x_1255;
}
else
{
lean_object* x_1256; lean_object* x_1257; 
x_1256 = lean_ctor_get(x_1252, 0);
lean_inc(x_1256);
lean_dec(x_1252);
if (lean_is_scalar(x_1244)) {
 x_1257 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1257 = x_1244;
}
lean_ctor_set(x_1257, 0, x_1256);
x_1225 = x_1257;
goto block_1241;
}
}
else
{
lean_object* x_1258; lean_object* x_1259; lean_object* x_1260; lean_object* x_1261; lean_object* x_1262; lean_object* x_1263; lean_object* x_1264; 
lean_dec(x_1244);
lean_dec(x_1224);
lean_dec(x_1223);
lean_dec(x_1208);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_1258 = lean_unsigned_to_nat(80u);
x_1259 = l_Lean_Json_pretty(x_1243, x_1258);
x_1260 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_1261 = lean_string_append(x_1260, x_1259);
lean_dec(x_1259);
x_1262 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_1263 = lean_string_append(x_1261, x_1262);
if (lean_is_scalar(x_1215)) {
 x_1264 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1264 = x_1215;
 lean_ctor_set_tag(x_1264, 0);
}
lean_ctor_set(x_1264, 0, x_1263);
return x_1264;
}
}
block_1241:
{
lean_object* x_1226; 
x_1226 = lean_ctor_get(x_5, 8);
lean_inc(x_1226);
lean_dec(x_5);
if (lean_obj_tag(x_1226) == 0)
{
lean_object* x_1227; lean_object* x_1228; 
lean_dec(x_3);
x_1227 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_1227, 0, x_13);
lean_ctor_set(x_1227, 1, x_15);
lean_ctor_set(x_1227, 2, x_934);
lean_ctor_set(x_1227, 3, x_935);
lean_ctor_set(x_1227, 4, x_934);
lean_ctor_set(x_1227, 5, x_1208);
lean_ctor_set(x_1227, 6, x_1224);
lean_ctor_set(x_1227, 7, x_1225);
lean_ctor_set(x_1227, 8, x_934);
if (lean_is_scalar(x_1223)) {
 x_1228 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1228 = x_1223;
}
lean_ctor_set(x_1228, 0, x_1227);
return x_1228;
}
else
{
lean_object* x_1229; lean_object* x_1230; lean_object* x_1231; lean_object* x_1232; 
x_1229 = lean_ctor_get(x_1226, 0);
lean_inc(x_1229);
if (lean_is_exclusive(x_1226)) {
 lean_ctor_release(x_1226, 0);
 x_1230 = x_1226;
} else {
 lean_dec_ref(x_1226);
 x_1230 = lean_box(0);
}
if (lean_is_scalar(x_1223)) {
 x_1231 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1231 = x_1223;
}
lean_ctor_set(x_1231, 0, x_1229);
x_1232 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_WidgetInstance_instRpcEncodableWidgetInstance_dec____x40_Lean_Widget_Types___hyg_3____spec__2(x_1231, x_3);
lean_dec(x_3);
if (lean_obj_tag(x_1232) == 0)
{
lean_object* x_1233; lean_object* x_1234; lean_object* x_1235; 
lean_dec(x_1230);
lean_dec(x_1225);
lean_dec(x_1224);
lean_dec(x_1208);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
x_1233 = lean_ctor_get(x_1232, 0);
lean_inc(x_1233);
if (lean_is_exclusive(x_1232)) {
 lean_ctor_release(x_1232, 0);
 x_1234 = x_1232;
} else {
 lean_dec_ref(x_1232);
 x_1234 = lean_box(0);
}
if (lean_is_scalar(x_1234)) {
 x_1235 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1235 = x_1234;
}
lean_ctor_set(x_1235, 0, x_1233);
return x_1235;
}
else
{
lean_object* x_1236; lean_object* x_1237; lean_object* x_1238; lean_object* x_1239; lean_object* x_1240; 
x_1236 = lean_ctor_get(x_1232, 0);
lean_inc(x_1236);
if (lean_is_exclusive(x_1232)) {
 lean_ctor_release(x_1232, 0);
 x_1237 = x_1232;
} else {
 lean_dec_ref(x_1232);
 x_1237 = lean_box(0);
}
if (lean_is_scalar(x_1230)) {
 x_1238 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1238 = x_1230;
}
lean_ctor_set(x_1238, 0, x_1236);
x_1239 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_1239, 0, x_13);
lean_ctor_set(x_1239, 1, x_15);
lean_ctor_set(x_1239, 2, x_934);
lean_ctor_set(x_1239, 3, x_935);
lean_ctor_set(x_1239, 4, x_934);
lean_ctor_set(x_1239, 5, x_1208);
lean_ctor_set(x_1239, 6, x_1224);
lean_ctor_set(x_1239, 7, x_1225);
lean_ctor_set(x_1239, 8, x_1238);
if (lean_is_scalar(x_1237)) {
 x_1240 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1240 = x_1237;
}
lean_ctor_set(x_1240, 0, x_1239);
return x_1240;
}
}
}
}
}
else
{
lean_object* x_1265; lean_object* x_1266; lean_object* x_1267; lean_object* x_1268; lean_object* x_1269; lean_object* x_1270; lean_object* x_1271; lean_object* x_1272; 
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
if (lean_is_exclusive(x_939)) {
 lean_ctor_release(x_939, 0);
 x_1265 = x_939;
} else {
 lean_dec_ref(x_939);
 x_1265 = lean_box(0);
}
x_1266 = lean_unsigned_to_nat(80u);
x_1267 = l_Lean_Json_pretty(x_1207, x_1266);
x_1268 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_1269 = lean_string_append(x_1268, x_1267);
lean_dec(x_1267);
x_1270 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_1271 = lean_string_append(x_1269, x_1270);
if (lean_is_scalar(x_1265)) {
 x_1272 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1272 = x_1265;
 lean_ctor_set_tag(x_1272, 0);
}
lean_ctor_set(x_1272, 0, x_1271);
return x_1272;
}
}
}
}
}
else
{
uint8_t x_1273; 
x_1273 = !lean_is_exclusive(x_936);
if (x_1273 == 0)
{
lean_object* x_1274; lean_object* x_1275; lean_object* x_1276; 
x_1274 = lean_ctor_get(x_936, 0);
x_1275 = l_Lean_Json_getStr_x3f(x_1274);
x_1276 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__1(x_1275, x_3);
if (lean_obj_tag(x_1276) == 0)
{
uint8_t x_1277; 
lean_free_object(x_936);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
lean_dec(x_1);
x_1277 = !lean_is_exclusive(x_1276);
if (x_1277 == 0)
{
return x_1276;
}
else
{
lean_object* x_1278; lean_object* x_1279; 
x_1278 = lean_ctor_get(x_1276, 0);
lean_inc(x_1278);
lean_dec(x_1276);
x_1279 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_1279, 0, x_1278);
return x_1279;
}
}
else
{
uint8_t x_1280; 
x_1280 = !lean_is_exclusive(x_1276);
if (x_1280 == 0)
{
lean_object* x_1281; lean_object* x_1282; lean_object* x_1283; lean_object* x_1284; 
x_1281 = lean_ctor_get(x_1276, 0);
lean_ctor_set(x_936, 0, x_1281);
x_1282 = lean_ctor_get(x_1, 1);
lean_inc(x_1282);
lean_dec(x_1);
x_1283 = lean_ctor_get(x_5, 5);
lean_inc(x_1283);
lean_inc(x_3);
x_1284 = lean_apply_2(x_1282, x_1283, x_3);
if (lean_obj_tag(x_1284) == 0)
{
uint8_t x_1285; 
lean_dec(x_936);
lean_free_object(x_1276);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_1285 = !lean_is_exclusive(x_1284);
if (x_1285 == 0)
{
return x_1284;
}
else
{
lean_object* x_1286; lean_object* x_1287; 
x_1286 = lean_ctor_get(x_1284, 0);
lean_inc(x_1286);
lean_dec(x_1284);
x_1287 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_1287, 0, x_1286);
return x_1287;
}
}
else
{
lean_object* x_1288; 
x_1288 = lean_ctor_get(x_5, 6);
lean_inc(x_1288);
if (lean_obj_tag(x_1288) == 0)
{
lean_object* x_1289; lean_object* x_1290; lean_object* x_1291; lean_object* x_1320; 
x_1289 = lean_ctor_get(x_1284, 0);
lean_inc(x_1289);
if (lean_is_exclusive(x_1284)) {
 lean_ctor_release(x_1284, 0);
 x_1290 = x_1284;
} else {
 lean_dec_ref(x_1284);
 x_1290 = lean_box(0);
}
x_1320 = lean_ctor_get(x_5, 7);
lean_inc(x_1320);
if (lean_obj_tag(x_1320) == 0)
{
lean_free_object(x_1276);
x_1291 = x_934;
goto block_1319;
}
else
{
uint8_t x_1321; 
x_1321 = !lean_is_exclusive(x_1320);
if (x_1321 == 0)
{
lean_object* x_1322; 
x_1322 = lean_ctor_get(x_1320, 0);
if (lean_obj_tag(x_1322) == 4)
{
lean_object* x_1323; lean_object* x_1324; size_t x_1325; size_t x_1326; lean_object* x_1327; lean_object* x_1328; lean_object* x_1329; size_t x_1330; lean_object* x_1331; 
lean_free_object(x_1276);
x_1323 = lean_ctor_get(x_1322, 0);
lean_inc(x_1323);
lean_dec(x_1322);
x_1324 = lean_array_get_size(x_1323);
x_1325 = lean_usize_of_nat(x_1324);
lean_dec(x_1324);
x_1326 = 0;
x_1327 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1661____spec__2(x_1325, x_1326, x_1323);
x_1328 = lean_ctor_get(x_1327, 0);
lean_inc(x_1328);
lean_dec(x_1327);
x_1329 = lean_array_get_size(x_1328);
x_1330 = lean_usize_of_nat(x_1329);
lean_dec(x_1329);
x_1331 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2(x_1330, x_1326, x_1328, x_3);
if (lean_obj_tag(x_1331) == 0)
{
uint8_t x_1332; 
lean_free_object(x_1320);
lean_dec(x_1290);
lean_dec(x_1289);
lean_dec(x_936);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_1332 = !lean_is_exclusive(x_1331);
if (x_1332 == 0)
{
return x_1331;
}
else
{
lean_object* x_1333; lean_object* x_1334; 
x_1333 = lean_ctor_get(x_1331, 0);
lean_inc(x_1333);
lean_dec(x_1331);
x_1334 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_1334, 0, x_1333);
return x_1334;
}
}
else
{
lean_object* x_1335; 
x_1335 = lean_ctor_get(x_1331, 0);
lean_inc(x_1335);
lean_dec(x_1331);
lean_ctor_set(x_1320, 0, x_1335);
x_1291 = x_1320;
goto block_1319;
}
}
else
{
lean_object* x_1336; lean_object* x_1337; lean_object* x_1338; lean_object* x_1339; lean_object* x_1340; lean_object* x_1341; 
lean_free_object(x_1320);
lean_dec(x_1290);
lean_dec(x_1289);
lean_dec(x_936);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_1336 = lean_unsigned_to_nat(80u);
x_1337 = l_Lean_Json_pretty(x_1322, x_1336);
x_1338 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_1339 = lean_string_append(x_1338, x_1337);
lean_dec(x_1337);
x_1340 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_1341 = lean_string_append(x_1339, x_1340);
lean_ctor_set_tag(x_1276, 0);
lean_ctor_set(x_1276, 0, x_1341);
return x_1276;
}
}
else
{
lean_object* x_1342; 
x_1342 = lean_ctor_get(x_1320, 0);
lean_inc(x_1342);
lean_dec(x_1320);
if (lean_obj_tag(x_1342) == 4)
{
lean_object* x_1343; lean_object* x_1344; size_t x_1345; size_t x_1346; lean_object* x_1347; lean_object* x_1348; lean_object* x_1349; size_t x_1350; lean_object* x_1351; 
lean_free_object(x_1276);
x_1343 = lean_ctor_get(x_1342, 0);
lean_inc(x_1343);
lean_dec(x_1342);
x_1344 = lean_array_get_size(x_1343);
x_1345 = lean_usize_of_nat(x_1344);
lean_dec(x_1344);
x_1346 = 0;
x_1347 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1661____spec__2(x_1345, x_1346, x_1343);
x_1348 = lean_ctor_get(x_1347, 0);
lean_inc(x_1348);
lean_dec(x_1347);
x_1349 = lean_array_get_size(x_1348);
x_1350 = lean_usize_of_nat(x_1349);
lean_dec(x_1349);
x_1351 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2(x_1350, x_1346, x_1348, x_3);
if (lean_obj_tag(x_1351) == 0)
{
lean_object* x_1352; lean_object* x_1353; lean_object* x_1354; 
lean_dec(x_1290);
lean_dec(x_1289);
lean_dec(x_936);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_1352 = lean_ctor_get(x_1351, 0);
lean_inc(x_1352);
if (lean_is_exclusive(x_1351)) {
 lean_ctor_release(x_1351, 0);
 x_1353 = x_1351;
} else {
 lean_dec_ref(x_1351);
 x_1353 = lean_box(0);
}
if (lean_is_scalar(x_1353)) {
 x_1354 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1354 = x_1353;
}
lean_ctor_set(x_1354, 0, x_1352);
return x_1354;
}
else
{
lean_object* x_1355; lean_object* x_1356; 
x_1355 = lean_ctor_get(x_1351, 0);
lean_inc(x_1355);
lean_dec(x_1351);
x_1356 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_1356, 0, x_1355);
x_1291 = x_1356;
goto block_1319;
}
}
else
{
lean_object* x_1357; lean_object* x_1358; lean_object* x_1359; lean_object* x_1360; lean_object* x_1361; lean_object* x_1362; 
lean_dec(x_1290);
lean_dec(x_1289);
lean_dec(x_936);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_1357 = lean_unsigned_to_nat(80u);
x_1358 = l_Lean_Json_pretty(x_1342, x_1357);
x_1359 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_1360 = lean_string_append(x_1359, x_1358);
lean_dec(x_1358);
x_1361 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_1362 = lean_string_append(x_1360, x_1361);
lean_ctor_set_tag(x_1276, 0);
lean_ctor_set(x_1276, 0, x_1362);
return x_1276;
}
}
}
block_1319:
{
lean_object* x_1292; 
x_1292 = lean_ctor_get(x_5, 8);
lean_inc(x_1292);
lean_dec(x_5);
if (lean_obj_tag(x_1292) == 0)
{
lean_object* x_1293; lean_object* x_1294; 
lean_dec(x_3);
x_1293 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_1293, 0, x_13);
lean_ctor_set(x_1293, 1, x_15);
lean_ctor_set(x_1293, 2, x_934);
lean_ctor_set(x_1293, 3, x_935);
lean_ctor_set(x_1293, 4, x_936);
lean_ctor_set(x_1293, 5, x_1289);
lean_ctor_set(x_1293, 6, x_934);
lean_ctor_set(x_1293, 7, x_1291);
lean_ctor_set(x_1293, 8, x_934);
if (lean_is_scalar(x_1290)) {
 x_1294 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1294 = x_1290;
}
lean_ctor_set(x_1294, 0, x_1293);
return x_1294;
}
else
{
uint8_t x_1295; 
x_1295 = !lean_is_exclusive(x_1292);
if (x_1295 == 0)
{
lean_object* x_1296; lean_object* x_1297; lean_object* x_1298; 
x_1296 = lean_ctor_get(x_1292, 0);
if (lean_is_scalar(x_1290)) {
 x_1297 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1297 = x_1290;
}
lean_ctor_set(x_1297, 0, x_1296);
x_1298 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_WidgetInstance_instRpcEncodableWidgetInstance_dec____x40_Lean_Widget_Types___hyg_3____spec__2(x_1297, x_3);
lean_dec(x_3);
if (lean_obj_tag(x_1298) == 0)
{
uint8_t x_1299; 
lean_free_object(x_1292);
lean_dec(x_1291);
lean_dec(x_1289);
lean_dec(x_936);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
x_1299 = !lean_is_exclusive(x_1298);
if (x_1299 == 0)
{
return x_1298;
}
else
{
lean_object* x_1300; lean_object* x_1301; 
x_1300 = lean_ctor_get(x_1298, 0);
lean_inc(x_1300);
lean_dec(x_1298);
x_1301 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_1301, 0, x_1300);
return x_1301;
}
}
else
{
uint8_t x_1302; 
x_1302 = !lean_is_exclusive(x_1298);
if (x_1302 == 0)
{
lean_object* x_1303; lean_object* x_1304; 
x_1303 = lean_ctor_get(x_1298, 0);
lean_ctor_set(x_1292, 0, x_1303);
x_1304 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_1304, 0, x_13);
lean_ctor_set(x_1304, 1, x_15);
lean_ctor_set(x_1304, 2, x_934);
lean_ctor_set(x_1304, 3, x_935);
lean_ctor_set(x_1304, 4, x_936);
lean_ctor_set(x_1304, 5, x_1289);
lean_ctor_set(x_1304, 6, x_934);
lean_ctor_set(x_1304, 7, x_1291);
lean_ctor_set(x_1304, 8, x_1292);
lean_ctor_set(x_1298, 0, x_1304);
return x_1298;
}
else
{
lean_object* x_1305; lean_object* x_1306; lean_object* x_1307; 
x_1305 = lean_ctor_get(x_1298, 0);
lean_inc(x_1305);
lean_dec(x_1298);
lean_ctor_set(x_1292, 0, x_1305);
x_1306 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_1306, 0, x_13);
lean_ctor_set(x_1306, 1, x_15);
lean_ctor_set(x_1306, 2, x_934);
lean_ctor_set(x_1306, 3, x_935);
lean_ctor_set(x_1306, 4, x_936);
lean_ctor_set(x_1306, 5, x_1289);
lean_ctor_set(x_1306, 6, x_934);
lean_ctor_set(x_1306, 7, x_1291);
lean_ctor_set(x_1306, 8, x_1292);
x_1307 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_1307, 0, x_1306);
return x_1307;
}
}
}
else
{
lean_object* x_1308; lean_object* x_1309; lean_object* x_1310; 
x_1308 = lean_ctor_get(x_1292, 0);
lean_inc(x_1308);
lean_dec(x_1292);
if (lean_is_scalar(x_1290)) {
 x_1309 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1309 = x_1290;
}
lean_ctor_set(x_1309, 0, x_1308);
x_1310 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_WidgetInstance_instRpcEncodableWidgetInstance_dec____x40_Lean_Widget_Types___hyg_3____spec__2(x_1309, x_3);
lean_dec(x_3);
if (lean_obj_tag(x_1310) == 0)
{
lean_object* x_1311; lean_object* x_1312; lean_object* x_1313; 
lean_dec(x_1291);
lean_dec(x_1289);
lean_dec(x_936);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
x_1311 = lean_ctor_get(x_1310, 0);
lean_inc(x_1311);
if (lean_is_exclusive(x_1310)) {
 lean_ctor_release(x_1310, 0);
 x_1312 = x_1310;
} else {
 lean_dec_ref(x_1310);
 x_1312 = lean_box(0);
}
if (lean_is_scalar(x_1312)) {
 x_1313 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1313 = x_1312;
}
lean_ctor_set(x_1313, 0, x_1311);
return x_1313;
}
else
{
lean_object* x_1314; lean_object* x_1315; lean_object* x_1316; lean_object* x_1317; lean_object* x_1318; 
x_1314 = lean_ctor_get(x_1310, 0);
lean_inc(x_1314);
if (lean_is_exclusive(x_1310)) {
 lean_ctor_release(x_1310, 0);
 x_1315 = x_1310;
} else {
 lean_dec_ref(x_1310);
 x_1315 = lean_box(0);
}
x_1316 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_1316, 0, x_1314);
x_1317 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_1317, 0, x_13);
lean_ctor_set(x_1317, 1, x_15);
lean_ctor_set(x_1317, 2, x_934);
lean_ctor_set(x_1317, 3, x_935);
lean_ctor_set(x_1317, 4, x_936);
lean_ctor_set(x_1317, 5, x_1289);
lean_ctor_set(x_1317, 6, x_934);
lean_ctor_set(x_1317, 7, x_1291);
lean_ctor_set(x_1317, 8, x_1316);
if (lean_is_scalar(x_1315)) {
 x_1318 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1318 = x_1315;
}
lean_ctor_set(x_1318, 0, x_1317);
return x_1318;
}
}
}
}
}
else
{
uint8_t x_1363; 
lean_free_object(x_1276);
x_1363 = !lean_is_exclusive(x_1288);
if (x_1363 == 0)
{
lean_object* x_1364; 
x_1364 = lean_ctor_get(x_1288, 0);
if (lean_obj_tag(x_1364) == 4)
{
lean_object* x_1365; lean_object* x_1366; lean_object* x_1367; size_t x_1368; size_t x_1369; lean_object* x_1370; uint8_t x_1371; 
x_1365 = lean_ctor_get(x_1284, 0);
lean_inc(x_1365);
lean_dec(x_1284);
x_1366 = lean_ctor_get(x_1364, 0);
lean_inc(x_1366);
lean_dec(x_1364);
x_1367 = lean_array_get_size(x_1366);
x_1368 = lean_usize_of_nat(x_1367);
lean_dec(x_1367);
x_1369 = 0;
x_1370 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1661____spec__2(x_1368, x_1369, x_1366);
x_1371 = !lean_is_exclusive(x_1370);
if (x_1371 == 0)
{
lean_object* x_1372; lean_object* x_1373; size_t x_1374; lean_object* x_1375; 
x_1372 = lean_ctor_get(x_1370, 0);
x_1373 = lean_array_get_size(x_1372);
x_1374 = lean_usize_of_nat(x_1373);
lean_dec(x_1373);
x_1375 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__4(x_1374, x_1369, x_1372, x_3);
if (lean_obj_tag(x_1375) == 0)
{
uint8_t x_1376; 
lean_free_object(x_1370);
lean_dec(x_1365);
lean_free_object(x_1288);
lean_dec(x_936);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_1376 = !lean_is_exclusive(x_1375);
if (x_1376 == 0)
{
return x_1375;
}
else
{
lean_object* x_1377; lean_object* x_1378; 
x_1377 = lean_ctor_get(x_1375, 0);
lean_inc(x_1377);
lean_dec(x_1375);
x_1378 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_1378, 0, x_1377);
return x_1378;
}
}
else
{
lean_object* x_1379; lean_object* x_1380; lean_object* x_1381; lean_object* x_1410; 
x_1379 = lean_ctor_get(x_1375, 0);
lean_inc(x_1379);
if (lean_is_exclusive(x_1375)) {
 lean_ctor_release(x_1375, 0);
 x_1380 = x_1375;
} else {
 lean_dec_ref(x_1375);
 x_1380 = lean_box(0);
}
lean_ctor_set(x_1288, 0, x_1379);
x_1410 = lean_ctor_get(x_5, 7);
lean_inc(x_1410);
if (lean_obj_tag(x_1410) == 0)
{
lean_free_object(x_1370);
x_1381 = x_934;
goto block_1409;
}
else
{
uint8_t x_1411; 
x_1411 = !lean_is_exclusive(x_1410);
if (x_1411 == 0)
{
lean_object* x_1412; 
x_1412 = lean_ctor_get(x_1410, 0);
if (lean_obj_tag(x_1412) == 4)
{
lean_object* x_1413; lean_object* x_1414; size_t x_1415; lean_object* x_1416; lean_object* x_1417; lean_object* x_1418; size_t x_1419; lean_object* x_1420; 
lean_free_object(x_1370);
x_1413 = lean_ctor_get(x_1412, 0);
lean_inc(x_1413);
lean_dec(x_1412);
x_1414 = lean_array_get_size(x_1413);
x_1415 = lean_usize_of_nat(x_1414);
lean_dec(x_1414);
x_1416 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1661____spec__2(x_1415, x_1369, x_1413);
x_1417 = lean_ctor_get(x_1416, 0);
lean_inc(x_1417);
lean_dec(x_1416);
x_1418 = lean_array_get_size(x_1417);
x_1419 = lean_usize_of_nat(x_1418);
lean_dec(x_1418);
x_1420 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2(x_1419, x_1369, x_1417, x_3);
if (lean_obj_tag(x_1420) == 0)
{
uint8_t x_1421; 
lean_free_object(x_1410);
lean_dec(x_1288);
lean_dec(x_1380);
lean_dec(x_1365);
lean_dec(x_936);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_1421 = !lean_is_exclusive(x_1420);
if (x_1421 == 0)
{
return x_1420;
}
else
{
lean_object* x_1422; lean_object* x_1423; 
x_1422 = lean_ctor_get(x_1420, 0);
lean_inc(x_1422);
lean_dec(x_1420);
x_1423 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_1423, 0, x_1422);
return x_1423;
}
}
else
{
lean_object* x_1424; 
x_1424 = lean_ctor_get(x_1420, 0);
lean_inc(x_1424);
lean_dec(x_1420);
lean_ctor_set(x_1410, 0, x_1424);
x_1381 = x_1410;
goto block_1409;
}
}
else
{
lean_object* x_1425; lean_object* x_1426; lean_object* x_1427; lean_object* x_1428; lean_object* x_1429; lean_object* x_1430; 
lean_free_object(x_1410);
lean_dec(x_1288);
lean_dec(x_1380);
lean_dec(x_1365);
lean_dec(x_936);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_1425 = lean_unsigned_to_nat(80u);
x_1426 = l_Lean_Json_pretty(x_1412, x_1425);
x_1427 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_1428 = lean_string_append(x_1427, x_1426);
lean_dec(x_1426);
x_1429 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_1430 = lean_string_append(x_1428, x_1429);
lean_ctor_set_tag(x_1370, 0);
lean_ctor_set(x_1370, 0, x_1430);
return x_1370;
}
}
else
{
lean_object* x_1431; 
x_1431 = lean_ctor_get(x_1410, 0);
lean_inc(x_1431);
lean_dec(x_1410);
if (lean_obj_tag(x_1431) == 4)
{
lean_object* x_1432; lean_object* x_1433; size_t x_1434; lean_object* x_1435; lean_object* x_1436; lean_object* x_1437; size_t x_1438; lean_object* x_1439; 
lean_free_object(x_1370);
x_1432 = lean_ctor_get(x_1431, 0);
lean_inc(x_1432);
lean_dec(x_1431);
x_1433 = lean_array_get_size(x_1432);
x_1434 = lean_usize_of_nat(x_1433);
lean_dec(x_1433);
x_1435 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1661____spec__2(x_1434, x_1369, x_1432);
x_1436 = lean_ctor_get(x_1435, 0);
lean_inc(x_1436);
lean_dec(x_1435);
x_1437 = lean_array_get_size(x_1436);
x_1438 = lean_usize_of_nat(x_1437);
lean_dec(x_1437);
x_1439 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2(x_1438, x_1369, x_1436, x_3);
if (lean_obj_tag(x_1439) == 0)
{
lean_object* x_1440; lean_object* x_1441; lean_object* x_1442; 
lean_dec(x_1288);
lean_dec(x_1380);
lean_dec(x_1365);
lean_dec(x_936);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_1440 = lean_ctor_get(x_1439, 0);
lean_inc(x_1440);
if (lean_is_exclusive(x_1439)) {
 lean_ctor_release(x_1439, 0);
 x_1441 = x_1439;
} else {
 lean_dec_ref(x_1439);
 x_1441 = lean_box(0);
}
if (lean_is_scalar(x_1441)) {
 x_1442 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1442 = x_1441;
}
lean_ctor_set(x_1442, 0, x_1440);
return x_1442;
}
else
{
lean_object* x_1443; lean_object* x_1444; 
x_1443 = lean_ctor_get(x_1439, 0);
lean_inc(x_1443);
lean_dec(x_1439);
x_1444 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_1444, 0, x_1443);
x_1381 = x_1444;
goto block_1409;
}
}
else
{
lean_object* x_1445; lean_object* x_1446; lean_object* x_1447; lean_object* x_1448; lean_object* x_1449; lean_object* x_1450; 
lean_dec(x_1288);
lean_dec(x_1380);
lean_dec(x_1365);
lean_dec(x_936);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_1445 = lean_unsigned_to_nat(80u);
x_1446 = l_Lean_Json_pretty(x_1431, x_1445);
x_1447 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_1448 = lean_string_append(x_1447, x_1446);
lean_dec(x_1446);
x_1449 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_1450 = lean_string_append(x_1448, x_1449);
lean_ctor_set_tag(x_1370, 0);
lean_ctor_set(x_1370, 0, x_1450);
return x_1370;
}
}
}
block_1409:
{
lean_object* x_1382; 
x_1382 = lean_ctor_get(x_5, 8);
lean_inc(x_1382);
lean_dec(x_5);
if (lean_obj_tag(x_1382) == 0)
{
lean_object* x_1383; lean_object* x_1384; 
lean_dec(x_3);
x_1383 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_1383, 0, x_13);
lean_ctor_set(x_1383, 1, x_15);
lean_ctor_set(x_1383, 2, x_934);
lean_ctor_set(x_1383, 3, x_935);
lean_ctor_set(x_1383, 4, x_936);
lean_ctor_set(x_1383, 5, x_1365);
lean_ctor_set(x_1383, 6, x_1288);
lean_ctor_set(x_1383, 7, x_1381);
lean_ctor_set(x_1383, 8, x_934);
if (lean_is_scalar(x_1380)) {
 x_1384 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1384 = x_1380;
}
lean_ctor_set(x_1384, 0, x_1383);
return x_1384;
}
else
{
uint8_t x_1385; 
x_1385 = !lean_is_exclusive(x_1382);
if (x_1385 == 0)
{
lean_object* x_1386; lean_object* x_1387; lean_object* x_1388; 
x_1386 = lean_ctor_get(x_1382, 0);
if (lean_is_scalar(x_1380)) {
 x_1387 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1387 = x_1380;
}
lean_ctor_set(x_1387, 0, x_1386);
x_1388 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_WidgetInstance_instRpcEncodableWidgetInstance_dec____x40_Lean_Widget_Types___hyg_3____spec__2(x_1387, x_3);
lean_dec(x_3);
if (lean_obj_tag(x_1388) == 0)
{
uint8_t x_1389; 
lean_free_object(x_1382);
lean_dec(x_1381);
lean_dec(x_1288);
lean_dec(x_1365);
lean_dec(x_936);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
x_1389 = !lean_is_exclusive(x_1388);
if (x_1389 == 0)
{
return x_1388;
}
else
{
lean_object* x_1390; lean_object* x_1391; 
x_1390 = lean_ctor_get(x_1388, 0);
lean_inc(x_1390);
lean_dec(x_1388);
x_1391 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_1391, 0, x_1390);
return x_1391;
}
}
else
{
uint8_t x_1392; 
x_1392 = !lean_is_exclusive(x_1388);
if (x_1392 == 0)
{
lean_object* x_1393; lean_object* x_1394; 
x_1393 = lean_ctor_get(x_1388, 0);
lean_ctor_set(x_1382, 0, x_1393);
x_1394 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_1394, 0, x_13);
lean_ctor_set(x_1394, 1, x_15);
lean_ctor_set(x_1394, 2, x_934);
lean_ctor_set(x_1394, 3, x_935);
lean_ctor_set(x_1394, 4, x_936);
lean_ctor_set(x_1394, 5, x_1365);
lean_ctor_set(x_1394, 6, x_1288);
lean_ctor_set(x_1394, 7, x_1381);
lean_ctor_set(x_1394, 8, x_1382);
lean_ctor_set(x_1388, 0, x_1394);
return x_1388;
}
else
{
lean_object* x_1395; lean_object* x_1396; lean_object* x_1397; 
x_1395 = lean_ctor_get(x_1388, 0);
lean_inc(x_1395);
lean_dec(x_1388);
lean_ctor_set(x_1382, 0, x_1395);
x_1396 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_1396, 0, x_13);
lean_ctor_set(x_1396, 1, x_15);
lean_ctor_set(x_1396, 2, x_934);
lean_ctor_set(x_1396, 3, x_935);
lean_ctor_set(x_1396, 4, x_936);
lean_ctor_set(x_1396, 5, x_1365);
lean_ctor_set(x_1396, 6, x_1288);
lean_ctor_set(x_1396, 7, x_1381);
lean_ctor_set(x_1396, 8, x_1382);
x_1397 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_1397, 0, x_1396);
return x_1397;
}
}
}
else
{
lean_object* x_1398; lean_object* x_1399; lean_object* x_1400; 
x_1398 = lean_ctor_get(x_1382, 0);
lean_inc(x_1398);
lean_dec(x_1382);
if (lean_is_scalar(x_1380)) {
 x_1399 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1399 = x_1380;
}
lean_ctor_set(x_1399, 0, x_1398);
x_1400 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_WidgetInstance_instRpcEncodableWidgetInstance_dec____x40_Lean_Widget_Types___hyg_3____spec__2(x_1399, x_3);
lean_dec(x_3);
if (lean_obj_tag(x_1400) == 0)
{
lean_object* x_1401; lean_object* x_1402; lean_object* x_1403; 
lean_dec(x_1381);
lean_dec(x_1288);
lean_dec(x_1365);
lean_dec(x_936);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
x_1401 = lean_ctor_get(x_1400, 0);
lean_inc(x_1401);
if (lean_is_exclusive(x_1400)) {
 lean_ctor_release(x_1400, 0);
 x_1402 = x_1400;
} else {
 lean_dec_ref(x_1400);
 x_1402 = lean_box(0);
}
if (lean_is_scalar(x_1402)) {
 x_1403 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1403 = x_1402;
}
lean_ctor_set(x_1403, 0, x_1401);
return x_1403;
}
else
{
lean_object* x_1404; lean_object* x_1405; lean_object* x_1406; lean_object* x_1407; lean_object* x_1408; 
x_1404 = lean_ctor_get(x_1400, 0);
lean_inc(x_1404);
if (lean_is_exclusive(x_1400)) {
 lean_ctor_release(x_1400, 0);
 x_1405 = x_1400;
} else {
 lean_dec_ref(x_1400);
 x_1405 = lean_box(0);
}
x_1406 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_1406, 0, x_1404);
x_1407 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_1407, 0, x_13);
lean_ctor_set(x_1407, 1, x_15);
lean_ctor_set(x_1407, 2, x_934);
lean_ctor_set(x_1407, 3, x_935);
lean_ctor_set(x_1407, 4, x_936);
lean_ctor_set(x_1407, 5, x_1365);
lean_ctor_set(x_1407, 6, x_1288);
lean_ctor_set(x_1407, 7, x_1381);
lean_ctor_set(x_1407, 8, x_1406);
if (lean_is_scalar(x_1405)) {
 x_1408 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1408 = x_1405;
}
lean_ctor_set(x_1408, 0, x_1407);
return x_1408;
}
}
}
}
}
}
else
{
lean_object* x_1451; lean_object* x_1452; size_t x_1453; lean_object* x_1454; 
x_1451 = lean_ctor_get(x_1370, 0);
lean_inc(x_1451);
lean_dec(x_1370);
x_1452 = lean_array_get_size(x_1451);
x_1453 = lean_usize_of_nat(x_1452);
lean_dec(x_1452);
x_1454 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__4(x_1453, x_1369, x_1451, x_3);
if (lean_obj_tag(x_1454) == 0)
{
lean_object* x_1455; lean_object* x_1456; lean_object* x_1457; 
lean_dec(x_1365);
lean_free_object(x_1288);
lean_dec(x_936);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_1455 = lean_ctor_get(x_1454, 0);
lean_inc(x_1455);
if (lean_is_exclusive(x_1454)) {
 lean_ctor_release(x_1454, 0);
 x_1456 = x_1454;
} else {
 lean_dec_ref(x_1454);
 x_1456 = lean_box(0);
}
if (lean_is_scalar(x_1456)) {
 x_1457 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1457 = x_1456;
}
lean_ctor_set(x_1457, 0, x_1455);
return x_1457;
}
else
{
lean_object* x_1458; lean_object* x_1459; lean_object* x_1460; lean_object* x_1477; 
x_1458 = lean_ctor_get(x_1454, 0);
lean_inc(x_1458);
if (lean_is_exclusive(x_1454)) {
 lean_ctor_release(x_1454, 0);
 x_1459 = x_1454;
} else {
 lean_dec_ref(x_1454);
 x_1459 = lean_box(0);
}
lean_ctor_set(x_1288, 0, x_1458);
x_1477 = lean_ctor_get(x_5, 7);
lean_inc(x_1477);
if (lean_obj_tag(x_1477) == 0)
{
x_1460 = x_934;
goto block_1476;
}
else
{
lean_object* x_1478; lean_object* x_1479; 
x_1478 = lean_ctor_get(x_1477, 0);
lean_inc(x_1478);
if (lean_is_exclusive(x_1477)) {
 lean_ctor_release(x_1477, 0);
 x_1479 = x_1477;
} else {
 lean_dec_ref(x_1477);
 x_1479 = lean_box(0);
}
if (lean_obj_tag(x_1478) == 4)
{
lean_object* x_1480; lean_object* x_1481; size_t x_1482; lean_object* x_1483; lean_object* x_1484; lean_object* x_1485; size_t x_1486; lean_object* x_1487; 
x_1480 = lean_ctor_get(x_1478, 0);
lean_inc(x_1480);
lean_dec(x_1478);
x_1481 = lean_array_get_size(x_1480);
x_1482 = lean_usize_of_nat(x_1481);
lean_dec(x_1481);
x_1483 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1661____spec__2(x_1482, x_1369, x_1480);
x_1484 = lean_ctor_get(x_1483, 0);
lean_inc(x_1484);
lean_dec(x_1483);
x_1485 = lean_array_get_size(x_1484);
x_1486 = lean_usize_of_nat(x_1485);
lean_dec(x_1485);
x_1487 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2(x_1486, x_1369, x_1484, x_3);
if (lean_obj_tag(x_1487) == 0)
{
lean_object* x_1488; lean_object* x_1489; lean_object* x_1490; 
lean_dec(x_1479);
lean_dec(x_1288);
lean_dec(x_1459);
lean_dec(x_1365);
lean_dec(x_936);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_1488 = lean_ctor_get(x_1487, 0);
lean_inc(x_1488);
if (lean_is_exclusive(x_1487)) {
 lean_ctor_release(x_1487, 0);
 x_1489 = x_1487;
} else {
 lean_dec_ref(x_1487);
 x_1489 = lean_box(0);
}
if (lean_is_scalar(x_1489)) {
 x_1490 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1490 = x_1489;
}
lean_ctor_set(x_1490, 0, x_1488);
return x_1490;
}
else
{
lean_object* x_1491; lean_object* x_1492; 
x_1491 = lean_ctor_get(x_1487, 0);
lean_inc(x_1491);
lean_dec(x_1487);
if (lean_is_scalar(x_1479)) {
 x_1492 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1492 = x_1479;
}
lean_ctor_set(x_1492, 0, x_1491);
x_1460 = x_1492;
goto block_1476;
}
}
else
{
lean_object* x_1493; lean_object* x_1494; lean_object* x_1495; lean_object* x_1496; lean_object* x_1497; lean_object* x_1498; lean_object* x_1499; 
lean_dec(x_1479);
lean_dec(x_1288);
lean_dec(x_1459);
lean_dec(x_1365);
lean_dec(x_936);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_1493 = lean_unsigned_to_nat(80u);
x_1494 = l_Lean_Json_pretty(x_1478, x_1493);
x_1495 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_1496 = lean_string_append(x_1495, x_1494);
lean_dec(x_1494);
x_1497 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_1498 = lean_string_append(x_1496, x_1497);
x_1499 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_1499, 0, x_1498);
return x_1499;
}
}
block_1476:
{
lean_object* x_1461; 
x_1461 = lean_ctor_get(x_5, 8);
lean_inc(x_1461);
lean_dec(x_5);
if (lean_obj_tag(x_1461) == 0)
{
lean_object* x_1462; lean_object* x_1463; 
lean_dec(x_3);
x_1462 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_1462, 0, x_13);
lean_ctor_set(x_1462, 1, x_15);
lean_ctor_set(x_1462, 2, x_934);
lean_ctor_set(x_1462, 3, x_935);
lean_ctor_set(x_1462, 4, x_936);
lean_ctor_set(x_1462, 5, x_1365);
lean_ctor_set(x_1462, 6, x_1288);
lean_ctor_set(x_1462, 7, x_1460);
lean_ctor_set(x_1462, 8, x_934);
if (lean_is_scalar(x_1459)) {
 x_1463 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1463 = x_1459;
}
lean_ctor_set(x_1463, 0, x_1462);
return x_1463;
}
else
{
lean_object* x_1464; lean_object* x_1465; lean_object* x_1466; lean_object* x_1467; 
x_1464 = lean_ctor_get(x_1461, 0);
lean_inc(x_1464);
if (lean_is_exclusive(x_1461)) {
 lean_ctor_release(x_1461, 0);
 x_1465 = x_1461;
} else {
 lean_dec_ref(x_1461);
 x_1465 = lean_box(0);
}
if (lean_is_scalar(x_1459)) {
 x_1466 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1466 = x_1459;
}
lean_ctor_set(x_1466, 0, x_1464);
x_1467 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_WidgetInstance_instRpcEncodableWidgetInstance_dec____x40_Lean_Widget_Types___hyg_3____spec__2(x_1466, x_3);
lean_dec(x_3);
if (lean_obj_tag(x_1467) == 0)
{
lean_object* x_1468; lean_object* x_1469; lean_object* x_1470; 
lean_dec(x_1465);
lean_dec(x_1460);
lean_dec(x_1288);
lean_dec(x_1365);
lean_dec(x_936);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
x_1468 = lean_ctor_get(x_1467, 0);
lean_inc(x_1468);
if (lean_is_exclusive(x_1467)) {
 lean_ctor_release(x_1467, 0);
 x_1469 = x_1467;
} else {
 lean_dec_ref(x_1467);
 x_1469 = lean_box(0);
}
if (lean_is_scalar(x_1469)) {
 x_1470 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1470 = x_1469;
}
lean_ctor_set(x_1470, 0, x_1468);
return x_1470;
}
else
{
lean_object* x_1471; lean_object* x_1472; lean_object* x_1473; lean_object* x_1474; lean_object* x_1475; 
x_1471 = lean_ctor_get(x_1467, 0);
lean_inc(x_1471);
if (lean_is_exclusive(x_1467)) {
 lean_ctor_release(x_1467, 0);
 x_1472 = x_1467;
} else {
 lean_dec_ref(x_1467);
 x_1472 = lean_box(0);
}
if (lean_is_scalar(x_1465)) {
 x_1473 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1473 = x_1465;
}
lean_ctor_set(x_1473, 0, x_1471);
x_1474 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_1474, 0, x_13);
lean_ctor_set(x_1474, 1, x_15);
lean_ctor_set(x_1474, 2, x_934);
lean_ctor_set(x_1474, 3, x_935);
lean_ctor_set(x_1474, 4, x_936);
lean_ctor_set(x_1474, 5, x_1365);
lean_ctor_set(x_1474, 6, x_1288);
lean_ctor_set(x_1474, 7, x_1460);
lean_ctor_set(x_1474, 8, x_1473);
if (lean_is_scalar(x_1472)) {
 x_1475 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1475 = x_1472;
}
lean_ctor_set(x_1475, 0, x_1474);
return x_1475;
}
}
}
}
}
}
else
{
uint8_t x_1500; 
lean_free_object(x_1288);
lean_dec(x_936);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_1500 = !lean_is_exclusive(x_1284);
if (x_1500 == 0)
{
lean_object* x_1501; lean_object* x_1502; lean_object* x_1503; lean_object* x_1504; lean_object* x_1505; lean_object* x_1506; lean_object* x_1507; 
x_1501 = lean_ctor_get(x_1284, 0);
lean_dec(x_1501);
x_1502 = lean_unsigned_to_nat(80u);
x_1503 = l_Lean_Json_pretty(x_1364, x_1502);
x_1504 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_1505 = lean_string_append(x_1504, x_1503);
lean_dec(x_1503);
x_1506 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_1507 = lean_string_append(x_1505, x_1506);
lean_ctor_set_tag(x_1284, 0);
lean_ctor_set(x_1284, 0, x_1507);
return x_1284;
}
else
{
lean_object* x_1508; lean_object* x_1509; lean_object* x_1510; lean_object* x_1511; lean_object* x_1512; lean_object* x_1513; lean_object* x_1514; 
lean_dec(x_1284);
x_1508 = lean_unsigned_to_nat(80u);
x_1509 = l_Lean_Json_pretty(x_1364, x_1508);
x_1510 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_1511 = lean_string_append(x_1510, x_1509);
lean_dec(x_1509);
x_1512 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_1513 = lean_string_append(x_1511, x_1512);
x_1514 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_1514, 0, x_1513);
return x_1514;
}
}
}
else
{
lean_object* x_1515; 
x_1515 = lean_ctor_get(x_1288, 0);
lean_inc(x_1515);
lean_dec(x_1288);
if (lean_obj_tag(x_1515) == 4)
{
lean_object* x_1516; lean_object* x_1517; lean_object* x_1518; size_t x_1519; size_t x_1520; lean_object* x_1521; lean_object* x_1522; lean_object* x_1523; lean_object* x_1524; size_t x_1525; lean_object* x_1526; 
x_1516 = lean_ctor_get(x_1284, 0);
lean_inc(x_1516);
lean_dec(x_1284);
x_1517 = lean_ctor_get(x_1515, 0);
lean_inc(x_1517);
lean_dec(x_1515);
x_1518 = lean_array_get_size(x_1517);
x_1519 = lean_usize_of_nat(x_1518);
lean_dec(x_1518);
x_1520 = 0;
x_1521 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1661____spec__2(x_1519, x_1520, x_1517);
x_1522 = lean_ctor_get(x_1521, 0);
lean_inc(x_1522);
if (lean_is_exclusive(x_1521)) {
 lean_ctor_release(x_1521, 0);
 x_1523 = x_1521;
} else {
 lean_dec_ref(x_1521);
 x_1523 = lean_box(0);
}
x_1524 = lean_array_get_size(x_1522);
x_1525 = lean_usize_of_nat(x_1524);
lean_dec(x_1524);
x_1526 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__4(x_1525, x_1520, x_1522, x_3);
if (lean_obj_tag(x_1526) == 0)
{
lean_object* x_1527; lean_object* x_1528; lean_object* x_1529; 
lean_dec(x_1523);
lean_dec(x_1516);
lean_dec(x_936);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_1527 = lean_ctor_get(x_1526, 0);
lean_inc(x_1527);
if (lean_is_exclusive(x_1526)) {
 lean_ctor_release(x_1526, 0);
 x_1528 = x_1526;
} else {
 lean_dec_ref(x_1526);
 x_1528 = lean_box(0);
}
if (lean_is_scalar(x_1528)) {
 x_1529 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1529 = x_1528;
}
lean_ctor_set(x_1529, 0, x_1527);
return x_1529;
}
else
{
lean_object* x_1530; lean_object* x_1531; lean_object* x_1532; lean_object* x_1533; lean_object* x_1550; 
x_1530 = lean_ctor_get(x_1526, 0);
lean_inc(x_1530);
if (lean_is_exclusive(x_1526)) {
 lean_ctor_release(x_1526, 0);
 x_1531 = x_1526;
} else {
 lean_dec_ref(x_1526);
 x_1531 = lean_box(0);
}
x_1532 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_1532, 0, x_1530);
x_1550 = lean_ctor_get(x_5, 7);
lean_inc(x_1550);
if (lean_obj_tag(x_1550) == 0)
{
lean_dec(x_1523);
x_1533 = x_934;
goto block_1549;
}
else
{
lean_object* x_1551; lean_object* x_1552; 
x_1551 = lean_ctor_get(x_1550, 0);
lean_inc(x_1551);
if (lean_is_exclusive(x_1550)) {
 lean_ctor_release(x_1550, 0);
 x_1552 = x_1550;
} else {
 lean_dec_ref(x_1550);
 x_1552 = lean_box(0);
}
if (lean_obj_tag(x_1551) == 4)
{
lean_object* x_1553; lean_object* x_1554; size_t x_1555; lean_object* x_1556; lean_object* x_1557; lean_object* x_1558; size_t x_1559; lean_object* x_1560; 
lean_dec(x_1523);
x_1553 = lean_ctor_get(x_1551, 0);
lean_inc(x_1553);
lean_dec(x_1551);
x_1554 = lean_array_get_size(x_1553);
x_1555 = lean_usize_of_nat(x_1554);
lean_dec(x_1554);
x_1556 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1661____spec__2(x_1555, x_1520, x_1553);
x_1557 = lean_ctor_get(x_1556, 0);
lean_inc(x_1557);
lean_dec(x_1556);
x_1558 = lean_array_get_size(x_1557);
x_1559 = lean_usize_of_nat(x_1558);
lean_dec(x_1558);
x_1560 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2(x_1559, x_1520, x_1557, x_3);
if (lean_obj_tag(x_1560) == 0)
{
lean_object* x_1561; lean_object* x_1562; lean_object* x_1563; 
lean_dec(x_1552);
lean_dec(x_1532);
lean_dec(x_1531);
lean_dec(x_1516);
lean_dec(x_936);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_1561 = lean_ctor_get(x_1560, 0);
lean_inc(x_1561);
if (lean_is_exclusive(x_1560)) {
 lean_ctor_release(x_1560, 0);
 x_1562 = x_1560;
} else {
 lean_dec_ref(x_1560);
 x_1562 = lean_box(0);
}
if (lean_is_scalar(x_1562)) {
 x_1563 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1563 = x_1562;
}
lean_ctor_set(x_1563, 0, x_1561);
return x_1563;
}
else
{
lean_object* x_1564; lean_object* x_1565; 
x_1564 = lean_ctor_get(x_1560, 0);
lean_inc(x_1564);
lean_dec(x_1560);
if (lean_is_scalar(x_1552)) {
 x_1565 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1565 = x_1552;
}
lean_ctor_set(x_1565, 0, x_1564);
x_1533 = x_1565;
goto block_1549;
}
}
else
{
lean_object* x_1566; lean_object* x_1567; lean_object* x_1568; lean_object* x_1569; lean_object* x_1570; lean_object* x_1571; lean_object* x_1572; 
lean_dec(x_1552);
lean_dec(x_1532);
lean_dec(x_1531);
lean_dec(x_1516);
lean_dec(x_936);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_1566 = lean_unsigned_to_nat(80u);
x_1567 = l_Lean_Json_pretty(x_1551, x_1566);
x_1568 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_1569 = lean_string_append(x_1568, x_1567);
lean_dec(x_1567);
x_1570 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_1571 = lean_string_append(x_1569, x_1570);
if (lean_is_scalar(x_1523)) {
 x_1572 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1572 = x_1523;
 lean_ctor_set_tag(x_1572, 0);
}
lean_ctor_set(x_1572, 0, x_1571);
return x_1572;
}
}
block_1549:
{
lean_object* x_1534; 
x_1534 = lean_ctor_get(x_5, 8);
lean_inc(x_1534);
lean_dec(x_5);
if (lean_obj_tag(x_1534) == 0)
{
lean_object* x_1535; lean_object* x_1536; 
lean_dec(x_3);
x_1535 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_1535, 0, x_13);
lean_ctor_set(x_1535, 1, x_15);
lean_ctor_set(x_1535, 2, x_934);
lean_ctor_set(x_1535, 3, x_935);
lean_ctor_set(x_1535, 4, x_936);
lean_ctor_set(x_1535, 5, x_1516);
lean_ctor_set(x_1535, 6, x_1532);
lean_ctor_set(x_1535, 7, x_1533);
lean_ctor_set(x_1535, 8, x_934);
if (lean_is_scalar(x_1531)) {
 x_1536 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1536 = x_1531;
}
lean_ctor_set(x_1536, 0, x_1535);
return x_1536;
}
else
{
lean_object* x_1537; lean_object* x_1538; lean_object* x_1539; lean_object* x_1540; 
x_1537 = lean_ctor_get(x_1534, 0);
lean_inc(x_1537);
if (lean_is_exclusive(x_1534)) {
 lean_ctor_release(x_1534, 0);
 x_1538 = x_1534;
} else {
 lean_dec_ref(x_1534);
 x_1538 = lean_box(0);
}
if (lean_is_scalar(x_1531)) {
 x_1539 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1539 = x_1531;
}
lean_ctor_set(x_1539, 0, x_1537);
x_1540 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_WidgetInstance_instRpcEncodableWidgetInstance_dec____x40_Lean_Widget_Types___hyg_3____spec__2(x_1539, x_3);
lean_dec(x_3);
if (lean_obj_tag(x_1540) == 0)
{
lean_object* x_1541; lean_object* x_1542; lean_object* x_1543; 
lean_dec(x_1538);
lean_dec(x_1533);
lean_dec(x_1532);
lean_dec(x_1516);
lean_dec(x_936);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
x_1541 = lean_ctor_get(x_1540, 0);
lean_inc(x_1541);
if (lean_is_exclusive(x_1540)) {
 lean_ctor_release(x_1540, 0);
 x_1542 = x_1540;
} else {
 lean_dec_ref(x_1540);
 x_1542 = lean_box(0);
}
if (lean_is_scalar(x_1542)) {
 x_1543 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1543 = x_1542;
}
lean_ctor_set(x_1543, 0, x_1541);
return x_1543;
}
else
{
lean_object* x_1544; lean_object* x_1545; lean_object* x_1546; lean_object* x_1547; lean_object* x_1548; 
x_1544 = lean_ctor_get(x_1540, 0);
lean_inc(x_1544);
if (lean_is_exclusive(x_1540)) {
 lean_ctor_release(x_1540, 0);
 x_1545 = x_1540;
} else {
 lean_dec_ref(x_1540);
 x_1545 = lean_box(0);
}
if (lean_is_scalar(x_1538)) {
 x_1546 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1546 = x_1538;
}
lean_ctor_set(x_1546, 0, x_1544);
x_1547 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_1547, 0, x_13);
lean_ctor_set(x_1547, 1, x_15);
lean_ctor_set(x_1547, 2, x_934);
lean_ctor_set(x_1547, 3, x_935);
lean_ctor_set(x_1547, 4, x_936);
lean_ctor_set(x_1547, 5, x_1516);
lean_ctor_set(x_1547, 6, x_1532);
lean_ctor_set(x_1547, 7, x_1533);
lean_ctor_set(x_1547, 8, x_1546);
if (lean_is_scalar(x_1545)) {
 x_1548 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1548 = x_1545;
}
lean_ctor_set(x_1548, 0, x_1547);
return x_1548;
}
}
}
}
}
else
{
lean_object* x_1573; lean_object* x_1574; lean_object* x_1575; lean_object* x_1576; lean_object* x_1577; lean_object* x_1578; lean_object* x_1579; lean_object* x_1580; 
lean_dec(x_936);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
if (lean_is_exclusive(x_1284)) {
 lean_ctor_release(x_1284, 0);
 x_1573 = x_1284;
} else {
 lean_dec_ref(x_1284);
 x_1573 = lean_box(0);
}
x_1574 = lean_unsigned_to_nat(80u);
x_1575 = l_Lean_Json_pretty(x_1515, x_1574);
x_1576 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_1577 = lean_string_append(x_1576, x_1575);
lean_dec(x_1575);
x_1578 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_1579 = lean_string_append(x_1577, x_1578);
if (lean_is_scalar(x_1573)) {
 x_1580 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1580 = x_1573;
 lean_ctor_set_tag(x_1580, 0);
}
lean_ctor_set(x_1580, 0, x_1579);
return x_1580;
}
}
}
}
}
else
{
lean_object* x_1581; lean_object* x_1582; lean_object* x_1583; lean_object* x_1584; 
x_1581 = lean_ctor_get(x_1276, 0);
lean_inc(x_1581);
lean_dec(x_1276);
lean_ctor_set(x_936, 0, x_1581);
x_1582 = lean_ctor_get(x_1, 1);
lean_inc(x_1582);
lean_dec(x_1);
x_1583 = lean_ctor_get(x_5, 5);
lean_inc(x_1583);
lean_inc(x_3);
x_1584 = lean_apply_2(x_1582, x_1583, x_3);
if (lean_obj_tag(x_1584) == 0)
{
lean_object* x_1585; lean_object* x_1586; lean_object* x_1587; 
lean_dec(x_936);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_1585 = lean_ctor_get(x_1584, 0);
lean_inc(x_1585);
if (lean_is_exclusive(x_1584)) {
 lean_ctor_release(x_1584, 0);
 x_1586 = x_1584;
} else {
 lean_dec_ref(x_1584);
 x_1586 = lean_box(0);
}
if (lean_is_scalar(x_1586)) {
 x_1587 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1587 = x_1586;
}
lean_ctor_set(x_1587, 0, x_1585);
return x_1587;
}
else
{
lean_object* x_1588; 
x_1588 = lean_ctor_get(x_5, 6);
lean_inc(x_1588);
if (lean_obj_tag(x_1588) == 0)
{
lean_object* x_1589; lean_object* x_1590; lean_object* x_1591; lean_object* x_1608; 
x_1589 = lean_ctor_get(x_1584, 0);
lean_inc(x_1589);
if (lean_is_exclusive(x_1584)) {
 lean_ctor_release(x_1584, 0);
 x_1590 = x_1584;
} else {
 lean_dec_ref(x_1584);
 x_1590 = lean_box(0);
}
x_1608 = lean_ctor_get(x_5, 7);
lean_inc(x_1608);
if (lean_obj_tag(x_1608) == 0)
{
x_1591 = x_934;
goto block_1607;
}
else
{
lean_object* x_1609; lean_object* x_1610; 
x_1609 = lean_ctor_get(x_1608, 0);
lean_inc(x_1609);
if (lean_is_exclusive(x_1608)) {
 lean_ctor_release(x_1608, 0);
 x_1610 = x_1608;
} else {
 lean_dec_ref(x_1608);
 x_1610 = lean_box(0);
}
if (lean_obj_tag(x_1609) == 4)
{
lean_object* x_1611; lean_object* x_1612; size_t x_1613; size_t x_1614; lean_object* x_1615; lean_object* x_1616; lean_object* x_1617; size_t x_1618; lean_object* x_1619; 
x_1611 = lean_ctor_get(x_1609, 0);
lean_inc(x_1611);
lean_dec(x_1609);
x_1612 = lean_array_get_size(x_1611);
x_1613 = lean_usize_of_nat(x_1612);
lean_dec(x_1612);
x_1614 = 0;
x_1615 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1661____spec__2(x_1613, x_1614, x_1611);
x_1616 = lean_ctor_get(x_1615, 0);
lean_inc(x_1616);
lean_dec(x_1615);
x_1617 = lean_array_get_size(x_1616);
x_1618 = lean_usize_of_nat(x_1617);
lean_dec(x_1617);
x_1619 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2(x_1618, x_1614, x_1616, x_3);
if (lean_obj_tag(x_1619) == 0)
{
lean_object* x_1620; lean_object* x_1621; lean_object* x_1622; 
lean_dec(x_1610);
lean_dec(x_1590);
lean_dec(x_1589);
lean_dec(x_936);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_1620 = lean_ctor_get(x_1619, 0);
lean_inc(x_1620);
if (lean_is_exclusive(x_1619)) {
 lean_ctor_release(x_1619, 0);
 x_1621 = x_1619;
} else {
 lean_dec_ref(x_1619);
 x_1621 = lean_box(0);
}
if (lean_is_scalar(x_1621)) {
 x_1622 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1622 = x_1621;
}
lean_ctor_set(x_1622, 0, x_1620);
return x_1622;
}
else
{
lean_object* x_1623; lean_object* x_1624; 
x_1623 = lean_ctor_get(x_1619, 0);
lean_inc(x_1623);
lean_dec(x_1619);
if (lean_is_scalar(x_1610)) {
 x_1624 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1624 = x_1610;
}
lean_ctor_set(x_1624, 0, x_1623);
x_1591 = x_1624;
goto block_1607;
}
}
else
{
lean_object* x_1625; lean_object* x_1626; lean_object* x_1627; lean_object* x_1628; lean_object* x_1629; lean_object* x_1630; lean_object* x_1631; 
lean_dec(x_1610);
lean_dec(x_1590);
lean_dec(x_1589);
lean_dec(x_936);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_1625 = lean_unsigned_to_nat(80u);
x_1626 = l_Lean_Json_pretty(x_1609, x_1625);
x_1627 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_1628 = lean_string_append(x_1627, x_1626);
lean_dec(x_1626);
x_1629 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_1630 = lean_string_append(x_1628, x_1629);
x_1631 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_1631, 0, x_1630);
return x_1631;
}
}
block_1607:
{
lean_object* x_1592; 
x_1592 = lean_ctor_get(x_5, 8);
lean_inc(x_1592);
lean_dec(x_5);
if (lean_obj_tag(x_1592) == 0)
{
lean_object* x_1593; lean_object* x_1594; 
lean_dec(x_3);
x_1593 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_1593, 0, x_13);
lean_ctor_set(x_1593, 1, x_15);
lean_ctor_set(x_1593, 2, x_934);
lean_ctor_set(x_1593, 3, x_935);
lean_ctor_set(x_1593, 4, x_936);
lean_ctor_set(x_1593, 5, x_1589);
lean_ctor_set(x_1593, 6, x_934);
lean_ctor_set(x_1593, 7, x_1591);
lean_ctor_set(x_1593, 8, x_934);
if (lean_is_scalar(x_1590)) {
 x_1594 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1594 = x_1590;
}
lean_ctor_set(x_1594, 0, x_1593);
return x_1594;
}
else
{
lean_object* x_1595; lean_object* x_1596; lean_object* x_1597; lean_object* x_1598; 
x_1595 = lean_ctor_get(x_1592, 0);
lean_inc(x_1595);
if (lean_is_exclusive(x_1592)) {
 lean_ctor_release(x_1592, 0);
 x_1596 = x_1592;
} else {
 lean_dec_ref(x_1592);
 x_1596 = lean_box(0);
}
if (lean_is_scalar(x_1590)) {
 x_1597 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1597 = x_1590;
}
lean_ctor_set(x_1597, 0, x_1595);
x_1598 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_WidgetInstance_instRpcEncodableWidgetInstance_dec____x40_Lean_Widget_Types___hyg_3____spec__2(x_1597, x_3);
lean_dec(x_3);
if (lean_obj_tag(x_1598) == 0)
{
lean_object* x_1599; lean_object* x_1600; lean_object* x_1601; 
lean_dec(x_1596);
lean_dec(x_1591);
lean_dec(x_1589);
lean_dec(x_936);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
x_1599 = lean_ctor_get(x_1598, 0);
lean_inc(x_1599);
if (lean_is_exclusive(x_1598)) {
 lean_ctor_release(x_1598, 0);
 x_1600 = x_1598;
} else {
 lean_dec_ref(x_1598);
 x_1600 = lean_box(0);
}
if (lean_is_scalar(x_1600)) {
 x_1601 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1601 = x_1600;
}
lean_ctor_set(x_1601, 0, x_1599);
return x_1601;
}
else
{
lean_object* x_1602; lean_object* x_1603; lean_object* x_1604; lean_object* x_1605; lean_object* x_1606; 
x_1602 = lean_ctor_get(x_1598, 0);
lean_inc(x_1602);
if (lean_is_exclusive(x_1598)) {
 lean_ctor_release(x_1598, 0);
 x_1603 = x_1598;
} else {
 lean_dec_ref(x_1598);
 x_1603 = lean_box(0);
}
if (lean_is_scalar(x_1596)) {
 x_1604 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1604 = x_1596;
}
lean_ctor_set(x_1604, 0, x_1602);
x_1605 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_1605, 0, x_13);
lean_ctor_set(x_1605, 1, x_15);
lean_ctor_set(x_1605, 2, x_934);
lean_ctor_set(x_1605, 3, x_935);
lean_ctor_set(x_1605, 4, x_936);
lean_ctor_set(x_1605, 5, x_1589);
lean_ctor_set(x_1605, 6, x_934);
lean_ctor_set(x_1605, 7, x_1591);
lean_ctor_set(x_1605, 8, x_1604);
if (lean_is_scalar(x_1603)) {
 x_1606 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1606 = x_1603;
}
lean_ctor_set(x_1606, 0, x_1605);
return x_1606;
}
}
}
}
else
{
lean_object* x_1632; lean_object* x_1633; 
x_1632 = lean_ctor_get(x_1588, 0);
lean_inc(x_1632);
if (lean_is_exclusive(x_1588)) {
 lean_ctor_release(x_1588, 0);
 x_1633 = x_1588;
} else {
 lean_dec_ref(x_1588);
 x_1633 = lean_box(0);
}
if (lean_obj_tag(x_1632) == 4)
{
lean_object* x_1634; lean_object* x_1635; lean_object* x_1636; size_t x_1637; size_t x_1638; lean_object* x_1639; lean_object* x_1640; lean_object* x_1641; lean_object* x_1642; size_t x_1643; lean_object* x_1644; 
x_1634 = lean_ctor_get(x_1584, 0);
lean_inc(x_1634);
lean_dec(x_1584);
x_1635 = lean_ctor_get(x_1632, 0);
lean_inc(x_1635);
lean_dec(x_1632);
x_1636 = lean_array_get_size(x_1635);
x_1637 = lean_usize_of_nat(x_1636);
lean_dec(x_1636);
x_1638 = 0;
x_1639 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1661____spec__2(x_1637, x_1638, x_1635);
x_1640 = lean_ctor_get(x_1639, 0);
lean_inc(x_1640);
if (lean_is_exclusive(x_1639)) {
 lean_ctor_release(x_1639, 0);
 x_1641 = x_1639;
} else {
 lean_dec_ref(x_1639);
 x_1641 = lean_box(0);
}
x_1642 = lean_array_get_size(x_1640);
x_1643 = lean_usize_of_nat(x_1642);
lean_dec(x_1642);
x_1644 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__4(x_1643, x_1638, x_1640, x_3);
if (lean_obj_tag(x_1644) == 0)
{
lean_object* x_1645; lean_object* x_1646; lean_object* x_1647; 
lean_dec(x_1641);
lean_dec(x_1634);
lean_dec(x_1633);
lean_dec(x_936);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_1645 = lean_ctor_get(x_1644, 0);
lean_inc(x_1645);
if (lean_is_exclusive(x_1644)) {
 lean_ctor_release(x_1644, 0);
 x_1646 = x_1644;
} else {
 lean_dec_ref(x_1644);
 x_1646 = lean_box(0);
}
if (lean_is_scalar(x_1646)) {
 x_1647 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1647 = x_1646;
}
lean_ctor_set(x_1647, 0, x_1645);
return x_1647;
}
else
{
lean_object* x_1648; lean_object* x_1649; lean_object* x_1650; lean_object* x_1651; lean_object* x_1668; 
x_1648 = lean_ctor_get(x_1644, 0);
lean_inc(x_1648);
if (lean_is_exclusive(x_1644)) {
 lean_ctor_release(x_1644, 0);
 x_1649 = x_1644;
} else {
 lean_dec_ref(x_1644);
 x_1649 = lean_box(0);
}
if (lean_is_scalar(x_1633)) {
 x_1650 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1650 = x_1633;
}
lean_ctor_set(x_1650, 0, x_1648);
x_1668 = lean_ctor_get(x_5, 7);
lean_inc(x_1668);
if (lean_obj_tag(x_1668) == 0)
{
lean_dec(x_1641);
x_1651 = x_934;
goto block_1667;
}
else
{
lean_object* x_1669; lean_object* x_1670; 
x_1669 = lean_ctor_get(x_1668, 0);
lean_inc(x_1669);
if (lean_is_exclusive(x_1668)) {
 lean_ctor_release(x_1668, 0);
 x_1670 = x_1668;
} else {
 lean_dec_ref(x_1668);
 x_1670 = lean_box(0);
}
if (lean_obj_tag(x_1669) == 4)
{
lean_object* x_1671; lean_object* x_1672; size_t x_1673; lean_object* x_1674; lean_object* x_1675; lean_object* x_1676; size_t x_1677; lean_object* x_1678; 
lean_dec(x_1641);
x_1671 = lean_ctor_get(x_1669, 0);
lean_inc(x_1671);
lean_dec(x_1669);
x_1672 = lean_array_get_size(x_1671);
x_1673 = lean_usize_of_nat(x_1672);
lean_dec(x_1672);
x_1674 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1661____spec__2(x_1673, x_1638, x_1671);
x_1675 = lean_ctor_get(x_1674, 0);
lean_inc(x_1675);
lean_dec(x_1674);
x_1676 = lean_array_get_size(x_1675);
x_1677 = lean_usize_of_nat(x_1676);
lean_dec(x_1676);
x_1678 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2(x_1677, x_1638, x_1675, x_3);
if (lean_obj_tag(x_1678) == 0)
{
lean_object* x_1679; lean_object* x_1680; lean_object* x_1681; 
lean_dec(x_1670);
lean_dec(x_1650);
lean_dec(x_1649);
lean_dec(x_1634);
lean_dec(x_936);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_1679 = lean_ctor_get(x_1678, 0);
lean_inc(x_1679);
if (lean_is_exclusive(x_1678)) {
 lean_ctor_release(x_1678, 0);
 x_1680 = x_1678;
} else {
 lean_dec_ref(x_1678);
 x_1680 = lean_box(0);
}
if (lean_is_scalar(x_1680)) {
 x_1681 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1681 = x_1680;
}
lean_ctor_set(x_1681, 0, x_1679);
return x_1681;
}
else
{
lean_object* x_1682; lean_object* x_1683; 
x_1682 = lean_ctor_get(x_1678, 0);
lean_inc(x_1682);
lean_dec(x_1678);
if (lean_is_scalar(x_1670)) {
 x_1683 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1683 = x_1670;
}
lean_ctor_set(x_1683, 0, x_1682);
x_1651 = x_1683;
goto block_1667;
}
}
else
{
lean_object* x_1684; lean_object* x_1685; lean_object* x_1686; lean_object* x_1687; lean_object* x_1688; lean_object* x_1689; lean_object* x_1690; 
lean_dec(x_1670);
lean_dec(x_1650);
lean_dec(x_1649);
lean_dec(x_1634);
lean_dec(x_936);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_1684 = lean_unsigned_to_nat(80u);
x_1685 = l_Lean_Json_pretty(x_1669, x_1684);
x_1686 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_1687 = lean_string_append(x_1686, x_1685);
lean_dec(x_1685);
x_1688 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_1689 = lean_string_append(x_1687, x_1688);
if (lean_is_scalar(x_1641)) {
 x_1690 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1690 = x_1641;
 lean_ctor_set_tag(x_1690, 0);
}
lean_ctor_set(x_1690, 0, x_1689);
return x_1690;
}
}
block_1667:
{
lean_object* x_1652; 
x_1652 = lean_ctor_get(x_5, 8);
lean_inc(x_1652);
lean_dec(x_5);
if (lean_obj_tag(x_1652) == 0)
{
lean_object* x_1653; lean_object* x_1654; 
lean_dec(x_3);
x_1653 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_1653, 0, x_13);
lean_ctor_set(x_1653, 1, x_15);
lean_ctor_set(x_1653, 2, x_934);
lean_ctor_set(x_1653, 3, x_935);
lean_ctor_set(x_1653, 4, x_936);
lean_ctor_set(x_1653, 5, x_1634);
lean_ctor_set(x_1653, 6, x_1650);
lean_ctor_set(x_1653, 7, x_1651);
lean_ctor_set(x_1653, 8, x_934);
if (lean_is_scalar(x_1649)) {
 x_1654 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1654 = x_1649;
}
lean_ctor_set(x_1654, 0, x_1653);
return x_1654;
}
else
{
lean_object* x_1655; lean_object* x_1656; lean_object* x_1657; lean_object* x_1658; 
x_1655 = lean_ctor_get(x_1652, 0);
lean_inc(x_1655);
if (lean_is_exclusive(x_1652)) {
 lean_ctor_release(x_1652, 0);
 x_1656 = x_1652;
} else {
 lean_dec_ref(x_1652);
 x_1656 = lean_box(0);
}
if (lean_is_scalar(x_1649)) {
 x_1657 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1657 = x_1649;
}
lean_ctor_set(x_1657, 0, x_1655);
x_1658 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_WidgetInstance_instRpcEncodableWidgetInstance_dec____x40_Lean_Widget_Types___hyg_3____spec__2(x_1657, x_3);
lean_dec(x_3);
if (lean_obj_tag(x_1658) == 0)
{
lean_object* x_1659; lean_object* x_1660; lean_object* x_1661; 
lean_dec(x_1656);
lean_dec(x_1651);
lean_dec(x_1650);
lean_dec(x_1634);
lean_dec(x_936);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
x_1659 = lean_ctor_get(x_1658, 0);
lean_inc(x_1659);
if (lean_is_exclusive(x_1658)) {
 lean_ctor_release(x_1658, 0);
 x_1660 = x_1658;
} else {
 lean_dec_ref(x_1658);
 x_1660 = lean_box(0);
}
if (lean_is_scalar(x_1660)) {
 x_1661 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1661 = x_1660;
}
lean_ctor_set(x_1661, 0, x_1659);
return x_1661;
}
else
{
lean_object* x_1662; lean_object* x_1663; lean_object* x_1664; lean_object* x_1665; lean_object* x_1666; 
x_1662 = lean_ctor_get(x_1658, 0);
lean_inc(x_1662);
if (lean_is_exclusive(x_1658)) {
 lean_ctor_release(x_1658, 0);
 x_1663 = x_1658;
} else {
 lean_dec_ref(x_1658);
 x_1663 = lean_box(0);
}
if (lean_is_scalar(x_1656)) {
 x_1664 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1664 = x_1656;
}
lean_ctor_set(x_1664, 0, x_1662);
x_1665 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_1665, 0, x_13);
lean_ctor_set(x_1665, 1, x_15);
lean_ctor_set(x_1665, 2, x_934);
lean_ctor_set(x_1665, 3, x_935);
lean_ctor_set(x_1665, 4, x_936);
lean_ctor_set(x_1665, 5, x_1634);
lean_ctor_set(x_1665, 6, x_1650);
lean_ctor_set(x_1665, 7, x_1651);
lean_ctor_set(x_1665, 8, x_1664);
if (lean_is_scalar(x_1663)) {
 x_1666 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1666 = x_1663;
}
lean_ctor_set(x_1666, 0, x_1665);
return x_1666;
}
}
}
}
}
else
{
lean_object* x_1691; lean_object* x_1692; lean_object* x_1693; lean_object* x_1694; lean_object* x_1695; lean_object* x_1696; lean_object* x_1697; lean_object* x_1698; 
lean_dec(x_1633);
lean_dec(x_936);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
if (lean_is_exclusive(x_1584)) {
 lean_ctor_release(x_1584, 0);
 x_1691 = x_1584;
} else {
 lean_dec_ref(x_1584);
 x_1691 = lean_box(0);
}
x_1692 = lean_unsigned_to_nat(80u);
x_1693 = l_Lean_Json_pretty(x_1632, x_1692);
x_1694 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_1695 = lean_string_append(x_1694, x_1693);
lean_dec(x_1693);
x_1696 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_1697 = lean_string_append(x_1695, x_1696);
if (lean_is_scalar(x_1691)) {
 x_1698 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1698 = x_1691;
 lean_ctor_set_tag(x_1698, 0);
}
lean_ctor_set(x_1698, 0, x_1697);
return x_1698;
}
}
}
}
}
}
else
{
lean_object* x_1699; lean_object* x_1700; lean_object* x_1701; 
x_1699 = lean_ctor_get(x_936, 0);
lean_inc(x_1699);
lean_dec(x_936);
x_1700 = l_Lean_Json_getStr_x3f(x_1699);
x_1701 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__1(x_1700, x_3);
if (lean_obj_tag(x_1701) == 0)
{
lean_object* x_1702; lean_object* x_1703; lean_object* x_1704; 
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
lean_dec(x_1);
x_1702 = lean_ctor_get(x_1701, 0);
lean_inc(x_1702);
if (lean_is_exclusive(x_1701)) {
 lean_ctor_release(x_1701, 0);
 x_1703 = x_1701;
} else {
 lean_dec_ref(x_1701);
 x_1703 = lean_box(0);
}
if (lean_is_scalar(x_1703)) {
 x_1704 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1704 = x_1703;
}
lean_ctor_set(x_1704, 0, x_1702);
return x_1704;
}
else
{
lean_object* x_1705; lean_object* x_1706; lean_object* x_1707; lean_object* x_1708; lean_object* x_1709; lean_object* x_1710; 
x_1705 = lean_ctor_get(x_1701, 0);
lean_inc(x_1705);
if (lean_is_exclusive(x_1701)) {
 lean_ctor_release(x_1701, 0);
 x_1706 = x_1701;
} else {
 lean_dec_ref(x_1701);
 x_1706 = lean_box(0);
}
x_1707 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_1707, 0, x_1705);
x_1708 = lean_ctor_get(x_1, 1);
lean_inc(x_1708);
lean_dec(x_1);
x_1709 = lean_ctor_get(x_5, 5);
lean_inc(x_1709);
lean_inc(x_3);
x_1710 = lean_apply_2(x_1708, x_1709, x_3);
if (lean_obj_tag(x_1710) == 0)
{
lean_object* x_1711; lean_object* x_1712; lean_object* x_1713; 
lean_dec(x_1707);
lean_dec(x_1706);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_1711 = lean_ctor_get(x_1710, 0);
lean_inc(x_1711);
if (lean_is_exclusive(x_1710)) {
 lean_ctor_release(x_1710, 0);
 x_1712 = x_1710;
} else {
 lean_dec_ref(x_1710);
 x_1712 = lean_box(0);
}
if (lean_is_scalar(x_1712)) {
 x_1713 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1713 = x_1712;
}
lean_ctor_set(x_1713, 0, x_1711);
return x_1713;
}
else
{
lean_object* x_1714; 
x_1714 = lean_ctor_get(x_5, 6);
lean_inc(x_1714);
if (lean_obj_tag(x_1714) == 0)
{
lean_object* x_1715; lean_object* x_1716; lean_object* x_1717; lean_object* x_1734; 
x_1715 = lean_ctor_get(x_1710, 0);
lean_inc(x_1715);
if (lean_is_exclusive(x_1710)) {
 lean_ctor_release(x_1710, 0);
 x_1716 = x_1710;
} else {
 lean_dec_ref(x_1710);
 x_1716 = lean_box(0);
}
x_1734 = lean_ctor_get(x_5, 7);
lean_inc(x_1734);
if (lean_obj_tag(x_1734) == 0)
{
lean_dec(x_1706);
x_1717 = x_934;
goto block_1733;
}
else
{
lean_object* x_1735; lean_object* x_1736; 
x_1735 = lean_ctor_get(x_1734, 0);
lean_inc(x_1735);
if (lean_is_exclusive(x_1734)) {
 lean_ctor_release(x_1734, 0);
 x_1736 = x_1734;
} else {
 lean_dec_ref(x_1734);
 x_1736 = lean_box(0);
}
if (lean_obj_tag(x_1735) == 4)
{
lean_object* x_1737; lean_object* x_1738; size_t x_1739; size_t x_1740; lean_object* x_1741; lean_object* x_1742; lean_object* x_1743; size_t x_1744; lean_object* x_1745; 
lean_dec(x_1706);
x_1737 = lean_ctor_get(x_1735, 0);
lean_inc(x_1737);
lean_dec(x_1735);
x_1738 = lean_array_get_size(x_1737);
x_1739 = lean_usize_of_nat(x_1738);
lean_dec(x_1738);
x_1740 = 0;
x_1741 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1661____spec__2(x_1739, x_1740, x_1737);
x_1742 = lean_ctor_get(x_1741, 0);
lean_inc(x_1742);
lean_dec(x_1741);
x_1743 = lean_array_get_size(x_1742);
x_1744 = lean_usize_of_nat(x_1743);
lean_dec(x_1743);
x_1745 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2(x_1744, x_1740, x_1742, x_3);
if (lean_obj_tag(x_1745) == 0)
{
lean_object* x_1746; lean_object* x_1747; lean_object* x_1748; 
lean_dec(x_1736);
lean_dec(x_1716);
lean_dec(x_1715);
lean_dec(x_1707);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_1746 = lean_ctor_get(x_1745, 0);
lean_inc(x_1746);
if (lean_is_exclusive(x_1745)) {
 lean_ctor_release(x_1745, 0);
 x_1747 = x_1745;
} else {
 lean_dec_ref(x_1745);
 x_1747 = lean_box(0);
}
if (lean_is_scalar(x_1747)) {
 x_1748 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1748 = x_1747;
}
lean_ctor_set(x_1748, 0, x_1746);
return x_1748;
}
else
{
lean_object* x_1749; lean_object* x_1750; 
x_1749 = lean_ctor_get(x_1745, 0);
lean_inc(x_1749);
lean_dec(x_1745);
if (lean_is_scalar(x_1736)) {
 x_1750 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1750 = x_1736;
}
lean_ctor_set(x_1750, 0, x_1749);
x_1717 = x_1750;
goto block_1733;
}
}
else
{
lean_object* x_1751; lean_object* x_1752; lean_object* x_1753; lean_object* x_1754; lean_object* x_1755; lean_object* x_1756; lean_object* x_1757; 
lean_dec(x_1736);
lean_dec(x_1716);
lean_dec(x_1715);
lean_dec(x_1707);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_1751 = lean_unsigned_to_nat(80u);
x_1752 = l_Lean_Json_pretty(x_1735, x_1751);
x_1753 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_1754 = lean_string_append(x_1753, x_1752);
lean_dec(x_1752);
x_1755 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_1756 = lean_string_append(x_1754, x_1755);
if (lean_is_scalar(x_1706)) {
 x_1757 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1757 = x_1706;
 lean_ctor_set_tag(x_1757, 0);
}
lean_ctor_set(x_1757, 0, x_1756);
return x_1757;
}
}
block_1733:
{
lean_object* x_1718; 
x_1718 = lean_ctor_get(x_5, 8);
lean_inc(x_1718);
lean_dec(x_5);
if (lean_obj_tag(x_1718) == 0)
{
lean_object* x_1719; lean_object* x_1720; 
lean_dec(x_3);
x_1719 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_1719, 0, x_13);
lean_ctor_set(x_1719, 1, x_15);
lean_ctor_set(x_1719, 2, x_934);
lean_ctor_set(x_1719, 3, x_935);
lean_ctor_set(x_1719, 4, x_1707);
lean_ctor_set(x_1719, 5, x_1715);
lean_ctor_set(x_1719, 6, x_934);
lean_ctor_set(x_1719, 7, x_1717);
lean_ctor_set(x_1719, 8, x_934);
if (lean_is_scalar(x_1716)) {
 x_1720 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1720 = x_1716;
}
lean_ctor_set(x_1720, 0, x_1719);
return x_1720;
}
else
{
lean_object* x_1721; lean_object* x_1722; lean_object* x_1723; lean_object* x_1724; 
x_1721 = lean_ctor_get(x_1718, 0);
lean_inc(x_1721);
if (lean_is_exclusive(x_1718)) {
 lean_ctor_release(x_1718, 0);
 x_1722 = x_1718;
} else {
 lean_dec_ref(x_1718);
 x_1722 = lean_box(0);
}
if (lean_is_scalar(x_1716)) {
 x_1723 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1723 = x_1716;
}
lean_ctor_set(x_1723, 0, x_1721);
x_1724 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_WidgetInstance_instRpcEncodableWidgetInstance_dec____x40_Lean_Widget_Types___hyg_3____spec__2(x_1723, x_3);
lean_dec(x_3);
if (lean_obj_tag(x_1724) == 0)
{
lean_object* x_1725; lean_object* x_1726; lean_object* x_1727; 
lean_dec(x_1722);
lean_dec(x_1717);
lean_dec(x_1715);
lean_dec(x_1707);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
x_1725 = lean_ctor_get(x_1724, 0);
lean_inc(x_1725);
if (lean_is_exclusive(x_1724)) {
 lean_ctor_release(x_1724, 0);
 x_1726 = x_1724;
} else {
 lean_dec_ref(x_1724);
 x_1726 = lean_box(0);
}
if (lean_is_scalar(x_1726)) {
 x_1727 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1727 = x_1726;
}
lean_ctor_set(x_1727, 0, x_1725);
return x_1727;
}
else
{
lean_object* x_1728; lean_object* x_1729; lean_object* x_1730; lean_object* x_1731; lean_object* x_1732; 
x_1728 = lean_ctor_get(x_1724, 0);
lean_inc(x_1728);
if (lean_is_exclusive(x_1724)) {
 lean_ctor_release(x_1724, 0);
 x_1729 = x_1724;
} else {
 lean_dec_ref(x_1724);
 x_1729 = lean_box(0);
}
if (lean_is_scalar(x_1722)) {
 x_1730 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1730 = x_1722;
}
lean_ctor_set(x_1730, 0, x_1728);
x_1731 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_1731, 0, x_13);
lean_ctor_set(x_1731, 1, x_15);
lean_ctor_set(x_1731, 2, x_934);
lean_ctor_set(x_1731, 3, x_935);
lean_ctor_set(x_1731, 4, x_1707);
lean_ctor_set(x_1731, 5, x_1715);
lean_ctor_set(x_1731, 6, x_934);
lean_ctor_set(x_1731, 7, x_1717);
lean_ctor_set(x_1731, 8, x_1730);
if (lean_is_scalar(x_1729)) {
 x_1732 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1732 = x_1729;
}
lean_ctor_set(x_1732, 0, x_1731);
return x_1732;
}
}
}
}
else
{
lean_object* x_1758; lean_object* x_1759; 
lean_dec(x_1706);
x_1758 = lean_ctor_get(x_1714, 0);
lean_inc(x_1758);
if (lean_is_exclusive(x_1714)) {
 lean_ctor_release(x_1714, 0);
 x_1759 = x_1714;
} else {
 lean_dec_ref(x_1714);
 x_1759 = lean_box(0);
}
if (lean_obj_tag(x_1758) == 4)
{
lean_object* x_1760; lean_object* x_1761; lean_object* x_1762; size_t x_1763; size_t x_1764; lean_object* x_1765; lean_object* x_1766; lean_object* x_1767; lean_object* x_1768; size_t x_1769; lean_object* x_1770; 
x_1760 = lean_ctor_get(x_1710, 0);
lean_inc(x_1760);
lean_dec(x_1710);
x_1761 = lean_ctor_get(x_1758, 0);
lean_inc(x_1761);
lean_dec(x_1758);
x_1762 = lean_array_get_size(x_1761);
x_1763 = lean_usize_of_nat(x_1762);
lean_dec(x_1762);
x_1764 = 0;
x_1765 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1661____spec__2(x_1763, x_1764, x_1761);
x_1766 = lean_ctor_get(x_1765, 0);
lean_inc(x_1766);
if (lean_is_exclusive(x_1765)) {
 lean_ctor_release(x_1765, 0);
 x_1767 = x_1765;
} else {
 lean_dec_ref(x_1765);
 x_1767 = lean_box(0);
}
x_1768 = lean_array_get_size(x_1766);
x_1769 = lean_usize_of_nat(x_1768);
lean_dec(x_1768);
x_1770 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__4(x_1769, x_1764, x_1766, x_3);
if (lean_obj_tag(x_1770) == 0)
{
lean_object* x_1771; lean_object* x_1772; lean_object* x_1773; 
lean_dec(x_1767);
lean_dec(x_1760);
lean_dec(x_1759);
lean_dec(x_1707);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_1771 = lean_ctor_get(x_1770, 0);
lean_inc(x_1771);
if (lean_is_exclusive(x_1770)) {
 lean_ctor_release(x_1770, 0);
 x_1772 = x_1770;
} else {
 lean_dec_ref(x_1770);
 x_1772 = lean_box(0);
}
if (lean_is_scalar(x_1772)) {
 x_1773 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1773 = x_1772;
}
lean_ctor_set(x_1773, 0, x_1771);
return x_1773;
}
else
{
lean_object* x_1774; lean_object* x_1775; lean_object* x_1776; lean_object* x_1777; lean_object* x_1794; 
x_1774 = lean_ctor_get(x_1770, 0);
lean_inc(x_1774);
if (lean_is_exclusive(x_1770)) {
 lean_ctor_release(x_1770, 0);
 x_1775 = x_1770;
} else {
 lean_dec_ref(x_1770);
 x_1775 = lean_box(0);
}
if (lean_is_scalar(x_1759)) {
 x_1776 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1776 = x_1759;
}
lean_ctor_set(x_1776, 0, x_1774);
x_1794 = lean_ctor_get(x_5, 7);
lean_inc(x_1794);
if (lean_obj_tag(x_1794) == 0)
{
lean_dec(x_1767);
x_1777 = x_934;
goto block_1793;
}
else
{
lean_object* x_1795; lean_object* x_1796; 
x_1795 = lean_ctor_get(x_1794, 0);
lean_inc(x_1795);
if (lean_is_exclusive(x_1794)) {
 lean_ctor_release(x_1794, 0);
 x_1796 = x_1794;
} else {
 lean_dec_ref(x_1794);
 x_1796 = lean_box(0);
}
if (lean_obj_tag(x_1795) == 4)
{
lean_object* x_1797; lean_object* x_1798; size_t x_1799; lean_object* x_1800; lean_object* x_1801; lean_object* x_1802; size_t x_1803; lean_object* x_1804; 
lean_dec(x_1767);
x_1797 = lean_ctor_get(x_1795, 0);
lean_inc(x_1797);
lean_dec(x_1795);
x_1798 = lean_array_get_size(x_1797);
x_1799 = lean_usize_of_nat(x_1798);
lean_dec(x_1798);
x_1800 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1661____spec__2(x_1799, x_1764, x_1797);
x_1801 = lean_ctor_get(x_1800, 0);
lean_inc(x_1801);
lean_dec(x_1800);
x_1802 = lean_array_get_size(x_1801);
x_1803 = lean_usize_of_nat(x_1802);
lean_dec(x_1802);
x_1804 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2(x_1803, x_1764, x_1801, x_3);
if (lean_obj_tag(x_1804) == 0)
{
lean_object* x_1805; lean_object* x_1806; lean_object* x_1807; 
lean_dec(x_1796);
lean_dec(x_1776);
lean_dec(x_1775);
lean_dec(x_1760);
lean_dec(x_1707);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_1805 = lean_ctor_get(x_1804, 0);
lean_inc(x_1805);
if (lean_is_exclusive(x_1804)) {
 lean_ctor_release(x_1804, 0);
 x_1806 = x_1804;
} else {
 lean_dec_ref(x_1804);
 x_1806 = lean_box(0);
}
if (lean_is_scalar(x_1806)) {
 x_1807 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1807 = x_1806;
}
lean_ctor_set(x_1807, 0, x_1805);
return x_1807;
}
else
{
lean_object* x_1808; lean_object* x_1809; 
x_1808 = lean_ctor_get(x_1804, 0);
lean_inc(x_1808);
lean_dec(x_1804);
if (lean_is_scalar(x_1796)) {
 x_1809 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1809 = x_1796;
}
lean_ctor_set(x_1809, 0, x_1808);
x_1777 = x_1809;
goto block_1793;
}
}
else
{
lean_object* x_1810; lean_object* x_1811; lean_object* x_1812; lean_object* x_1813; lean_object* x_1814; lean_object* x_1815; lean_object* x_1816; 
lean_dec(x_1796);
lean_dec(x_1776);
lean_dec(x_1775);
lean_dec(x_1760);
lean_dec(x_1707);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_1810 = lean_unsigned_to_nat(80u);
x_1811 = l_Lean_Json_pretty(x_1795, x_1810);
x_1812 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_1813 = lean_string_append(x_1812, x_1811);
lean_dec(x_1811);
x_1814 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_1815 = lean_string_append(x_1813, x_1814);
if (lean_is_scalar(x_1767)) {
 x_1816 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1816 = x_1767;
 lean_ctor_set_tag(x_1816, 0);
}
lean_ctor_set(x_1816, 0, x_1815);
return x_1816;
}
}
block_1793:
{
lean_object* x_1778; 
x_1778 = lean_ctor_get(x_5, 8);
lean_inc(x_1778);
lean_dec(x_5);
if (lean_obj_tag(x_1778) == 0)
{
lean_object* x_1779; lean_object* x_1780; 
lean_dec(x_3);
x_1779 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_1779, 0, x_13);
lean_ctor_set(x_1779, 1, x_15);
lean_ctor_set(x_1779, 2, x_934);
lean_ctor_set(x_1779, 3, x_935);
lean_ctor_set(x_1779, 4, x_1707);
lean_ctor_set(x_1779, 5, x_1760);
lean_ctor_set(x_1779, 6, x_1776);
lean_ctor_set(x_1779, 7, x_1777);
lean_ctor_set(x_1779, 8, x_934);
if (lean_is_scalar(x_1775)) {
 x_1780 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1780 = x_1775;
}
lean_ctor_set(x_1780, 0, x_1779);
return x_1780;
}
else
{
lean_object* x_1781; lean_object* x_1782; lean_object* x_1783; lean_object* x_1784; 
x_1781 = lean_ctor_get(x_1778, 0);
lean_inc(x_1781);
if (lean_is_exclusive(x_1778)) {
 lean_ctor_release(x_1778, 0);
 x_1782 = x_1778;
} else {
 lean_dec_ref(x_1778);
 x_1782 = lean_box(0);
}
if (lean_is_scalar(x_1775)) {
 x_1783 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1783 = x_1775;
}
lean_ctor_set(x_1783, 0, x_1781);
x_1784 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_WidgetInstance_instRpcEncodableWidgetInstance_dec____x40_Lean_Widget_Types___hyg_3____spec__2(x_1783, x_3);
lean_dec(x_3);
if (lean_obj_tag(x_1784) == 0)
{
lean_object* x_1785; lean_object* x_1786; lean_object* x_1787; 
lean_dec(x_1782);
lean_dec(x_1777);
lean_dec(x_1776);
lean_dec(x_1760);
lean_dec(x_1707);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
x_1785 = lean_ctor_get(x_1784, 0);
lean_inc(x_1785);
if (lean_is_exclusive(x_1784)) {
 lean_ctor_release(x_1784, 0);
 x_1786 = x_1784;
} else {
 lean_dec_ref(x_1784);
 x_1786 = lean_box(0);
}
if (lean_is_scalar(x_1786)) {
 x_1787 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1787 = x_1786;
}
lean_ctor_set(x_1787, 0, x_1785);
return x_1787;
}
else
{
lean_object* x_1788; lean_object* x_1789; lean_object* x_1790; lean_object* x_1791; lean_object* x_1792; 
x_1788 = lean_ctor_get(x_1784, 0);
lean_inc(x_1788);
if (lean_is_exclusive(x_1784)) {
 lean_ctor_release(x_1784, 0);
 x_1789 = x_1784;
} else {
 lean_dec_ref(x_1784);
 x_1789 = lean_box(0);
}
if (lean_is_scalar(x_1782)) {
 x_1790 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1790 = x_1782;
}
lean_ctor_set(x_1790, 0, x_1788);
x_1791 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_1791, 0, x_13);
lean_ctor_set(x_1791, 1, x_15);
lean_ctor_set(x_1791, 2, x_934);
lean_ctor_set(x_1791, 3, x_935);
lean_ctor_set(x_1791, 4, x_1707);
lean_ctor_set(x_1791, 5, x_1760);
lean_ctor_set(x_1791, 6, x_1776);
lean_ctor_set(x_1791, 7, x_1777);
lean_ctor_set(x_1791, 8, x_1790);
if (lean_is_scalar(x_1789)) {
 x_1792 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1792 = x_1789;
}
lean_ctor_set(x_1792, 0, x_1791);
return x_1792;
}
}
}
}
}
else
{
lean_object* x_1817; lean_object* x_1818; lean_object* x_1819; lean_object* x_1820; lean_object* x_1821; lean_object* x_1822; lean_object* x_1823; lean_object* x_1824; 
lean_dec(x_1759);
lean_dec(x_1707);
lean_dec(x_935);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
if (lean_is_exclusive(x_1710)) {
 lean_ctor_release(x_1710, 0);
 x_1817 = x_1710;
} else {
 lean_dec_ref(x_1710);
 x_1817 = lean_box(0);
}
x_1818 = lean_unsigned_to_nat(80u);
x_1819 = l_Lean_Json_pretty(x_1758, x_1818);
x_1820 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_1821 = lean_string_append(x_1820, x_1819);
lean_dec(x_1819);
x_1822 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_1823 = lean_string_append(x_1821, x_1822);
if (lean_is_scalar(x_1817)) {
 x_1824 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1824 = x_1817;
 lean_ctor_set_tag(x_1824, 0);
}
lean_ctor_set(x_1824, 0, x_1823);
return x_1824;
}
}
}
}
}
}
}
block_1832:
{
if (lean_obj_tag(x_1826) == 0)
{
uint8_t x_1827; 
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
lean_dec(x_1);
x_1827 = !lean_is_exclusive(x_1826);
if (x_1827 == 0)
{
return x_1826;
}
else
{
lean_object* x_1828; lean_object* x_1829; 
x_1828 = lean_ctor_get(x_1826, 0);
lean_inc(x_1828);
lean_dec(x_1826);
x_1829 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_1829, 0, x_1828);
return x_1829;
}
}
else
{
lean_object* x_1830; lean_object* x_1831; 
x_1830 = lean_ctor_get(x_1826, 0);
lean_inc(x_1830);
lean_dec(x_1826);
x_1831 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_1831, 0, x_1830);
x_935 = x_1831;
goto block_1825;
}
}
}
else
{
uint8_t x_1953; 
x_1953 = !lean_is_exclusive(x_933);
if (x_1953 == 0)
{
lean_object* x_1954; lean_object* x_1955; 
x_1954 = lean_ctor_get(x_933, 0);
lean_inc(x_1954);
x_1955 = l_Lean_Json_getNat_x3f(x_1954);
if (lean_obj_tag(x_1955) == 0)
{
uint8_t x_1956; 
x_1956 = !lean_is_exclusive(x_1955);
if (x_1956 == 0)
{
lean_object* x_1957; lean_object* x_1958; lean_object* x_1959; lean_object* x_1960; lean_object* x_1961; lean_object* x_1962; lean_object* x_1963; lean_object* x_1964; 
x_1957 = lean_ctor_get(x_1955, 0);
lean_dec(x_1957);
x_1958 = lean_unsigned_to_nat(80u);
x_1959 = l_Lean_Json_pretty(x_1954, x_1958);
x_1960 = l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__2;
x_1961 = lean_string_append(x_1960, x_1959);
lean_dec(x_1959);
x_1962 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_1963 = lean_string_append(x_1961, x_1962);
lean_ctor_set(x_1955, 0, x_1963);
x_1964 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__6(x_1955, x_3);
if (lean_obj_tag(x_1964) == 0)
{
uint8_t x_1965; 
lean_free_object(x_933);
lean_dec(x_15);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_3);
lean_dec(x_1);
x_1965 = !lean_is_exclusive(x_1964);
if (x_1965 == 0)
{
return x_1964;
}
else
{
lean_object* x_1966; lean_object* x_1967; 
x_1966 = lean_ctor_get(x_1964, 0);
lean_inc(x_1966);
lean_dec(x_1964);
x_1967 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_1967, 0, x_1966);
return x_1967;
}
}
else
{
lean_object* x_1968; 
x_1968 = lean_ctor_get(x_1964, 0);
lean_inc(x_1968);
lean_dec(x_1964);
lean_ctor_set(x_933, 0, x_1968);
x_16 = x_933;
goto block_932;
}
}
else
{
lean_object* x_1969; lean_object* x_1970; lean_object* x_1971; lean_object* x_1972; lean_object* x_1973; lean_object* x_1974; lean_object* x_1975; lean_object* x_1976; 
lean_dec(x_1955);
x_1969 = lean_unsigned_to_nat(80u);
x_1970 = l_Lean_Json_pretty(x_1954, x_1969);
x_1971 = l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__2;
x_1972 = lean_string_append(x_1971, x_1970);
lean_dec(x_1970);
x_1973 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_1974 = lean_string_append(x_1972, x_1973);
x_1975 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_1975, 0, x_1974);
x_1976 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__6(x_1975, x_3);
if (lean_obj_tag(x_1976) == 0)
{
lean_object* x_1977; lean_object* x_1978; lean_object* x_1979; 
lean_free_object(x_933);
lean_dec(x_15);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_3);
lean_dec(x_1);
x_1977 = lean_ctor_get(x_1976, 0);
lean_inc(x_1977);
if (lean_is_exclusive(x_1976)) {
 lean_ctor_release(x_1976, 0);
 x_1978 = x_1976;
} else {
 lean_dec_ref(x_1976);
 x_1978 = lean_box(0);
}
if (lean_is_scalar(x_1978)) {
 x_1979 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1979 = x_1978;
}
lean_ctor_set(x_1979, 0, x_1977);
return x_1979;
}
else
{
lean_object* x_1980; 
x_1980 = lean_ctor_get(x_1976, 0);
lean_inc(x_1980);
lean_dec(x_1976);
lean_ctor_set(x_933, 0, x_1980);
x_16 = x_933;
goto block_932;
}
}
}
else
{
uint8_t x_1981; 
x_1981 = !lean_is_exclusive(x_1955);
if (x_1981 == 0)
{
lean_object* x_1982; lean_object* x_1983; uint8_t x_1984; 
x_1982 = lean_ctor_get(x_1955, 0);
x_1983 = lean_unsigned_to_nat(1u);
x_1984 = lean_nat_dec_eq(x_1982, x_1983);
if (x_1984 == 0)
{
lean_object* x_1985; uint8_t x_1986; 
x_1985 = lean_unsigned_to_nat(2u);
x_1986 = lean_nat_dec_eq(x_1982, x_1985);
if (x_1986 == 0)
{
lean_object* x_1987; uint8_t x_1988; 
x_1987 = lean_unsigned_to_nat(3u);
x_1988 = lean_nat_dec_eq(x_1982, x_1987);
if (x_1988 == 0)
{
lean_object* x_1989; uint8_t x_1990; 
x_1989 = lean_unsigned_to_nat(4u);
x_1990 = lean_nat_dec_eq(x_1982, x_1989);
lean_dec(x_1982);
if (x_1990 == 0)
{
lean_object* x_1991; lean_object* x_1992; lean_object* x_1993; lean_object* x_1994; lean_object* x_1995; lean_object* x_1996; lean_object* x_1997; 
x_1991 = lean_unsigned_to_nat(80u);
x_1992 = l_Lean_Json_pretty(x_1954, x_1991);
x_1993 = l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__2;
x_1994 = lean_string_append(x_1993, x_1992);
lean_dec(x_1992);
x_1995 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_1996 = lean_string_append(x_1994, x_1995);
lean_ctor_set_tag(x_1955, 0);
lean_ctor_set(x_1955, 0, x_1996);
x_1997 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__6(x_1955, x_3);
if (lean_obj_tag(x_1997) == 0)
{
uint8_t x_1998; 
lean_free_object(x_933);
lean_dec(x_15);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_3);
lean_dec(x_1);
x_1998 = !lean_is_exclusive(x_1997);
if (x_1998 == 0)
{
return x_1997;
}
else
{
lean_object* x_1999; lean_object* x_2000; 
x_1999 = lean_ctor_get(x_1997, 0);
lean_inc(x_1999);
lean_dec(x_1997);
x_2000 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2000, 0, x_1999);
return x_2000;
}
}
else
{
lean_object* x_2001; 
x_2001 = lean_ctor_get(x_1997, 0);
lean_inc(x_2001);
lean_dec(x_1997);
lean_ctor_set(x_933, 0, x_2001);
x_16 = x_933;
goto block_932;
}
}
else
{
lean_object* x_2002; lean_object* x_2003; 
lean_free_object(x_1955);
lean_dec(x_1954);
x_2002 = l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__3;
x_2003 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__6(x_2002, x_3);
if (lean_obj_tag(x_2003) == 0)
{
uint8_t x_2004; 
lean_free_object(x_933);
lean_dec(x_15);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_3);
lean_dec(x_1);
x_2004 = !lean_is_exclusive(x_2003);
if (x_2004 == 0)
{
return x_2003;
}
else
{
lean_object* x_2005; lean_object* x_2006; 
x_2005 = lean_ctor_get(x_2003, 0);
lean_inc(x_2005);
lean_dec(x_2003);
x_2006 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2006, 0, x_2005);
return x_2006;
}
}
else
{
lean_object* x_2007; 
x_2007 = lean_ctor_get(x_2003, 0);
lean_inc(x_2007);
lean_dec(x_2003);
lean_ctor_set(x_933, 0, x_2007);
x_16 = x_933;
goto block_932;
}
}
}
else
{
lean_object* x_2008; lean_object* x_2009; 
lean_free_object(x_1955);
lean_dec(x_1982);
lean_dec(x_1954);
x_2008 = l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__4;
x_2009 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__6(x_2008, x_3);
if (lean_obj_tag(x_2009) == 0)
{
uint8_t x_2010; 
lean_free_object(x_933);
lean_dec(x_15);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_3);
lean_dec(x_1);
x_2010 = !lean_is_exclusive(x_2009);
if (x_2010 == 0)
{
return x_2009;
}
else
{
lean_object* x_2011; lean_object* x_2012; 
x_2011 = lean_ctor_get(x_2009, 0);
lean_inc(x_2011);
lean_dec(x_2009);
x_2012 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2012, 0, x_2011);
return x_2012;
}
}
else
{
lean_object* x_2013; 
x_2013 = lean_ctor_get(x_2009, 0);
lean_inc(x_2013);
lean_dec(x_2009);
lean_ctor_set(x_933, 0, x_2013);
x_16 = x_933;
goto block_932;
}
}
}
else
{
lean_object* x_2014; lean_object* x_2015; 
lean_free_object(x_1955);
lean_dec(x_1982);
lean_dec(x_1954);
x_2014 = l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__5;
x_2015 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__6(x_2014, x_3);
if (lean_obj_tag(x_2015) == 0)
{
uint8_t x_2016; 
lean_free_object(x_933);
lean_dec(x_15);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_3);
lean_dec(x_1);
x_2016 = !lean_is_exclusive(x_2015);
if (x_2016 == 0)
{
return x_2015;
}
else
{
lean_object* x_2017; lean_object* x_2018; 
x_2017 = lean_ctor_get(x_2015, 0);
lean_inc(x_2017);
lean_dec(x_2015);
x_2018 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2018, 0, x_2017);
return x_2018;
}
}
else
{
lean_object* x_2019; 
x_2019 = lean_ctor_get(x_2015, 0);
lean_inc(x_2019);
lean_dec(x_2015);
lean_ctor_set(x_933, 0, x_2019);
x_16 = x_933;
goto block_932;
}
}
}
else
{
lean_object* x_2020; lean_object* x_2021; 
lean_free_object(x_1955);
lean_dec(x_1982);
lean_dec(x_1954);
x_2020 = l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__6;
x_2021 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__6(x_2020, x_3);
if (lean_obj_tag(x_2021) == 0)
{
uint8_t x_2022; 
lean_free_object(x_933);
lean_dec(x_15);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_3);
lean_dec(x_1);
x_2022 = !lean_is_exclusive(x_2021);
if (x_2022 == 0)
{
return x_2021;
}
else
{
lean_object* x_2023; lean_object* x_2024; 
x_2023 = lean_ctor_get(x_2021, 0);
lean_inc(x_2023);
lean_dec(x_2021);
x_2024 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2024, 0, x_2023);
return x_2024;
}
}
else
{
lean_object* x_2025; 
x_2025 = lean_ctor_get(x_2021, 0);
lean_inc(x_2025);
lean_dec(x_2021);
lean_ctor_set(x_933, 0, x_2025);
x_16 = x_933;
goto block_932;
}
}
}
else
{
lean_object* x_2026; lean_object* x_2027; uint8_t x_2028; 
x_2026 = lean_ctor_get(x_1955, 0);
lean_inc(x_2026);
lean_dec(x_1955);
x_2027 = lean_unsigned_to_nat(1u);
x_2028 = lean_nat_dec_eq(x_2026, x_2027);
if (x_2028 == 0)
{
lean_object* x_2029; uint8_t x_2030; 
x_2029 = lean_unsigned_to_nat(2u);
x_2030 = lean_nat_dec_eq(x_2026, x_2029);
if (x_2030 == 0)
{
lean_object* x_2031; uint8_t x_2032; 
x_2031 = lean_unsigned_to_nat(3u);
x_2032 = lean_nat_dec_eq(x_2026, x_2031);
if (x_2032 == 0)
{
lean_object* x_2033; uint8_t x_2034; 
x_2033 = lean_unsigned_to_nat(4u);
x_2034 = lean_nat_dec_eq(x_2026, x_2033);
lean_dec(x_2026);
if (x_2034 == 0)
{
lean_object* x_2035; lean_object* x_2036; lean_object* x_2037; lean_object* x_2038; lean_object* x_2039; lean_object* x_2040; lean_object* x_2041; lean_object* x_2042; 
x_2035 = lean_unsigned_to_nat(80u);
x_2036 = l_Lean_Json_pretty(x_1954, x_2035);
x_2037 = l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__2;
x_2038 = lean_string_append(x_2037, x_2036);
lean_dec(x_2036);
x_2039 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_2040 = lean_string_append(x_2038, x_2039);
x_2041 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2041, 0, x_2040);
x_2042 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__6(x_2041, x_3);
if (lean_obj_tag(x_2042) == 0)
{
lean_object* x_2043; lean_object* x_2044; lean_object* x_2045; 
lean_free_object(x_933);
lean_dec(x_15);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_3);
lean_dec(x_1);
x_2043 = lean_ctor_get(x_2042, 0);
lean_inc(x_2043);
if (lean_is_exclusive(x_2042)) {
 lean_ctor_release(x_2042, 0);
 x_2044 = x_2042;
} else {
 lean_dec_ref(x_2042);
 x_2044 = lean_box(0);
}
if (lean_is_scalar(x_2044)) {
 x_2045 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2045 = x_2044;
}
lean_ctor_set(x_2045, 0, x_2043);
return x_2045;
}
else
{
lean_object* x_2046; 
x_2046 = lean_ctor_get(x_2042, 0);
lean_inc(x_2046);
lean_dec(x_2042);
lean_ctor_set(x_933, 0, x_2046);
x_16 = x_933;
goto block_932;
}
}
else
{
lean_object* x_2047; lean_object* x_2048; 
lean_dec(x_1954);
x_2047 = l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__3;
x_2048 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__6(x_2047, x_3);
if (lean_obj_tag(x_2048) == 0)
{
lean_object* x_2049; lean_object* x_2050; lean_object* x_2051; 
lean_free_object(x_933);
lean_dec(x_15);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_3);
lean_dec(x_1);
x_2049 = lean_ctor_get(x_2048, 0);
lean_inc(x_2049);
if (lean_is_exclusive(x_2048)) {
 lean_ctor_release(x_2048, 0);
 x_2050 = x_2048;
} else {
 lean_dec_ref(x_2048);
 x_2050 = lean_box(0);
}
if (lean_is_scalar(x_2050)) {
 x_2051 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2051 = x_2050;
}
lean_ctor_set(x_2051, 0, x_2049);
return x_2051;
}
else
{
lean_object* x_2052; 
x_2052 = lean_ctor_get(x_2048, 0);
lean_inc(x_2052);
lean_dec(x_2048);
lean_ctor_set(x_933, 0, x_2052);
x_16 = x_933;
goto block_932;
}
}
}
else
{
lean_object* x_2053; lean_object* x_2054; 
lean_dec(x_2026);
lean_dec(x_1954);
x_2053 = l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__4;
x_2054 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__6(x_2053, x_3);
if (lean_obj_tag(x_2054) == 0)
{
lean_object* x_2055; lean_object* x_2056; lean_object* x_2057; 
lean_free_object(x_933);
lean_dec(x_15);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_3);
lean_dec(x_1);
x_2055 = lean_ctor_get(x_2054, 0);
lean_inc(x_2055);
if (lean_is_exclusive(x_2054)) {
 lean_ctor_release(x_2054, 0);
 x_2056 = x_2054;
} else {
 lean_dec_ref(x_2054);
 x_2056 = lean_box(0);
}
if (lean_is_scalar(x_2056)) {
 x_2057 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2057 = x_2056;
}
lean_ctor_set(x_2057, 0, x_2055);
return x_2057;
}
else
{
lean_object* x_2058; 
x_2058 = lean_ctor_get(x_2054, 0);
lean_inc(x_2058);
lean_dec(x_2054);
lean_ctor_set(x_933, 0, x_2058);
x_16 = x_933;
goto block_932;
}
}
}
else
{
lean_object* x_2059; lean_object* x_2060; 
lean_dec(x_2026);
lean_dec(x_1954);
x_2059 = l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__5;
x_2060 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__6(x_2059, x_3);
if (lean_obj_tag(x_2060) == 0)
{
lean_object* x_2061; lean_object* x_2062; lean_object* x_2063; 
lean_free_object(x_933);
lean_dec(x_15);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_3);
lean_dec(x_1);
x_2061 = lean_ctor_get(x_2060, 0);
lean_inc(x_2061);
if (lean_is_exclusive(x_2060)) {
 lean_ctor_release(x_2060, 0);
 x_2062 = x_2060;
} else {
 lean_dec_ref(x_2060);
 x_2062 = lean_box(0);
}
if (lean_is_scalar(x_2062)) {
 x_2063 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2063 = x_2062;
}
lean_ctor_set(x_2063, 0, x_2061);
return x_2063;
}
else
{
lean_object* x_2064; 
x_2064 = lean_ctor_get(x_2060, 0);
lean_inc(x_2064);
lean_dec(x_2060);
lean_ctor_set(x_933, 0, x_2064);
x_16 = x_933;
goto block_932;
}
}
}
else
{
lean_object* x_2065; lean_object* x_2066; 
lean_dec(x_2026);
lean_dec(x_1954);
x_2065 = l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__6;
x_2066 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__6(x_2065, x_3);
if (lean_obj_tag(x_2066) == 0)
{
lean_object* x_2067; lean_object* x_2068; lean_object* x_2069; 
lean_free_object(x_933);
lean_dec(x_15);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_3);
lean_dec(x_1);
x_2067 = lean_ctor_get(x_2066, 0);
lean_inc(x_2067);
if (lean_is_exclusive(x_2066)) {
 lean_ctor_release(x_2066, 0);
 x_2068 = x_2066;
} else {
 lean_dec_ref(x_2066);
 x_2068 = lean_box(0);
}
if (lean_is_scalar(x_2068)) {
 x_2069 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2069 = x_2068;
}
lean_ctor_set(x_2069, 0, x_2067);
return x_2069;
}
else
{
lean_object* x_2070; 
x_2070 = lean_ctor_get(x_2066, 0);
lean_inc(x_2070);
lean_dec(x_2066);
lean_ctor_set(x_933, 0, x_2070);
x_16 = x_933;
goto block_932;
}
}
}
}
}
else
{
lean_object* x_2071; lean_object* x_2072; 
x_2071 = lean_ctor_get(x_933, 0);
lean_inc(x_2071);
lean_dec(x_933);
lean_inc(x_2071);
x_2072 = l_Lean_Json_getNat_x3f(x_2071);
if (lean_obj_tag(x_2072) == 0)
{
lean_object* x_2073; lean_object* x_2074; lean_object* x_2075; lean_object* x_2076; lean_object* x_2077; lean_object* x_2078; lean_object* x_2079; lean_object* x_2080; lean_object* x_2081; 
if (lean_is_exclusive(x_2072)) {
 lean_ctor_release(x_2072, 0);
 x_2073 = x_2072;
} else {
 lean_dec_ref(x_2072);
 x_2073 = lean_box(0);
}
x_2074 = lean_unsigned_to_nat(80u);
x_2075 = l_Lean_Json_pretty(x_2071, x_2074);
x_2076 = l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__2;
x_2077 = lean_string_append(x_2076, x_2075);
lean_dec(x_2075);
x_2078 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_2079 = lean_string_append(x_2077, x_2078);
if (lean_is_scalar(x_2073)) {
 x_2080 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2080 = x_2073;
}
lean_ctor_set(x_2080, 0, x_2079);
x_2081 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__6(x_2080, x_3);
if (lean_obj_tag(x_2081) == 0)
{
lean_object* x_2082; lean_object* x_2083; lean_object* x_2084; 
lean_dec(x_15);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_3);
lean_dec(x_1);
x_2082 = lean_ctor_get(x_2081, 0);
lean_inc(x_2082);
if (lean_is_exclusive(x_2081)) {
 lean_ctor_release(x_2081, 0);
 x_2083 = x_2081;
} else {
 lean_dec_ref(x_2081);
 x_2083 = lean_box(0);
}
if (lean_is_scalar(x_2083)) {
 x_2084 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2084 = x_2083;
}
lean_ctor_set(x_2084, 0, x_2082);
return x_2084;
}
else
{
lean_object* x_2085; lean_object* x_2086; 
x_2085 = lean_ctor_get(x_2081, 0);
lean_inc(x_2085);
lean_dec(x_2081);
x_2086 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_2086, 0, x_2085);
x_16 = x_2086;
goto block_932;
}
}
else
{
lean_object* x_2087; lean_object* x_2088; lean_object* x_2089; uint8_t x_2090; 
x_2087 = lean_ctor_get(x_2072, 0);
lean_inc(x_2087);
if (lean_is_exclusive(x_2072)) {
 lean_ctor_release(x_2072, 0);
 x_2088 = x_2072;
} else {
 lean_dec_ref(x_2072);
 x_2088 = lean_box(0);
}
x_2089 = lean_unsigned_to_nat(1u);
x_2090 = lean_nat_dec_eq(x_2087, x_2089);
if (x_2090 == 0)
{
lean_object* x_2091; uint8_t x_2092; 
x_2091 = lean_unsigned_to_nat(2u);
x_2092 = lean_nat_dec_eq(x_2087, x_2091);
if (x_2092 == 0)
{
lean_object* x_2093; uint8_t x_2094; 
x_2093 = lean_unsigned_to_nat(3u);
x_2094 = lean_nat_dec_eq(x_2087, x_2093);
if (x_2094 == 0)
{
lean_object* x_2095; uint8_t x_2096; 
x_2095 = lean_unsigned_to_nat(4u);
x_2096 = lean_nat_dec_eq(x_2087, x_2095);
lean_dec(x_2087);
if (x_2096 == 0)
{
lean_object* x_2097; lean_object* x_2098; lean_object* x_2099; lean_object* x_2100; lean_object* x_2101; lean_object* x_2102; lean_object* x_2103; lean_object* x_2104; 
x_2097 = lean_unsigned_to_nat(80u);
x_2098 = l_Lean_Json_pretty(x_2071, x_2097);
x_2099 = l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__2;
x_2100 = lean_string_append(x_2099, x_2098);
lean_dec(x_2098);
x_2101 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_2102 = lean_string_append(x_2100, x_2101);
if (lean_is_scalar(x_2088)) {
 x_2103 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2103 = x_2088;
 lean_ctor_set_tag(x_2103, 0);
}
lean_ctor_set(x_2103, 0, x_2102);
x_2104 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__6(x_2103, x_3);
if (lean_obj_tag(x_2104) == 0)
{
lean_object* x_2105; lean_object* x_2106; lean_object* x_2107; 
lean_dec(x_15);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_3);
lean_dec(x_1);
x_2105 = lean_ctor_get(x_2104, 0);
lean_inc(x_2105);
if (lean_is_exclusive(x_2104)) {
 lean_ctor_release(x_2104, 0);
 x_2106 = x_2104;
} else {
 lean_dec_ref(x_2104);
 x_2106 = lean_box(0);
}
if (lean_is_scalar(x_2106)) {
 x_2107 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2107 = x_2106;
}
lean_ctor_set(x_2107, 0, x_2105);
return x_2107;
}
else
{
lean_object* x_2108; lean_object* x_2109; 
x_2108 = lean_ctor_get(x_2104, 0);
lean_inc(x_2108);
lean_dec(x_2104);
x_2109 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_2109, 0, x_2108);
x_16 = x_2109;
goto block_932;
}
}
else
{
lean_object* x_2110; lean_object* x_2111; 
lean_dec(x_2088);
lean_dec(x_2071);
x_2110 = l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__3;
x_2111 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__6(x_2110, x_3);
if (lean_obj_tag(x_2111) == 0)
{
lean_object* x_2112; lean_object* x_2113; lean_object* x_2114; 
lean_dec(x_15);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_3);
lean_dec(x_1);
x_2112 = lean_ctor_get(x_2111, 0);
lean_inc(x_2112);
if (lean_is_exclusive(x_2111)) {
 lean_ctor_release(x_2111, 0);
 x_2113 = x_2111;
} else {
 lean_dec_ref(x_2111);
 x_2113 = lean_box(0);
}
if (lean_is_scalar(x_2113)) {
 x_2114 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2114 = x_2113;
}
lean_ctor_set(x_2114, 0, x_2112);
return x_2114;
}
else
{
lean_object* x_2115; lean_object* x_2116; 
x_2115 = lean_ctor_get(x_2111, 0);
lean_inc(x_2115);
lean_dec(x_2111);
x_2116 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_2116, 0, x_2115);
x_16 = x_2116;
goto block_932;
}
}
}
else
{
lean_object* x_2117; lean_object* x_2118; 
lean_dec(x_2088);
lean_dec(x_2087);
lean_dec(x_2071);
x_2117 = l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__4;
x_2118 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__6(x_2117, x_3);
if (lean_obj_tag(x_2118) == 0)
{
lean_object* x_2119; lean_object* x_2120; lean_object* x_2121; 
lean_dec(x_15);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_3);
lean_dec(x_1);
x_2119 = lean_ctor_get(x_2118, 0);
lean_inc(x_2119);
if (lean_is_exclusive(x_2118)) {
 lean_ctor_release(x_2118, 0);
 x_2120 = x_2118;
} else {
 lean_dec_ref(x_2118);
 x_2120 = lean_box(0);
}
if (lean_is_scalar(x_2120)) {
 x_2121 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2121 = x_2120;
}
lean_ctor_set(x_2121, 0, x_2119);
return x_2121;
}
else
{
lean_object* x_2122; lean_object* x_2123; 
x_2122 = lean_ctor_get(x_2118, 0);
lean_inc(x_2122);
lean_dec(x_2118);
x_2123 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_2123, 0, x_2122);
x_16 = x_2123;
goto block_932;
}
}
}
else
{
lean_object* x_2124; lean_object* x_2125; 
lean_dec(x_2088);
lean_dec(x_2087);
lean_dec(x_2071);
x_2124 = l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__5;
x_2125 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__6(x_2124, x_3);
if (lean_obj_tag(x_2125) == 0)
{
lean_object* x_2126; lean_object* x_2127; lean_object* x_2128; 
lean_dec(x_15);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_3);
lean_dec(x_1);
x_2126 = lean_ctor_get(x_2125, 0);
lean_inc(x_2126);
if (lean_is_exclusive(x_2125)) {
 lean_ctor_release(x_2125, 0);
 x_2127 = x_2125;
} else {
 lean_dec_ref(x_2125);
 x_2127 = lean_box(0);
}
if (lean_is_scalar(x_2127)) {
 x_2128 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2128 = x_2127;
}
lean_ctor_set(x_2128, 0, x_2126);
return x_2128;
}
else
{
lean_object* x_2129; lean_object* x_2130; 
x_2129 = lean_ctor_get(x_2125, 0);
lean_inc(x_2129);
lean_dec(x_2125);
x_2130 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_2130, 0, x_2129);
x_16 = x_2130;
goto block_932;
}
}
}
else
{
lean_object* x_2131; lean_object* x_2132; 
lean_dec(x_2088);
lean_dec(x_2087);
lean_dec(x_2071);
x_2131 = l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__6;
x_2132 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__6(x_2131, x_3);
if (lean_obj_tag(x_2132) == 0)
{
lean_object* x_2133; lean_object* x_2134; lean_object* x_2135; 
lean_dec(x_15);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_3);
lean_dec(x_1);
x_2133 = lean_ctor_get(x_2132, 0);
lean_inc(x_2133);
if (lean_is_exclusive(x_2132)) {
 lean_ctor_release(x_2132, 0);
 x_2134 = x_2132;
} else {
 lean_dec_ref(x_2132);
 x_2134 = lean_box(0);
}
if (lean_is_scalar(x_2134)) {
 x_2135 = lean_alloc_ctor(0, 1, 0);
} else {
 x_2135 = x_2134;
}
lean_ctor_set(x_2135, 0, x_2133);
return x_2135;
}
else
{
lean_object* x_2136; lean_object* x_2137; 
x_2136 = lean_ctor_get(x_2132, 0);
lean_inc(x_2136);
lean_dec(x_2132);
x_2137 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_2137, 0, x_2136);
x_16 = x_2137;
goto block_932;
}
}
}
}
}
block_932:
{
lean_object* x_17; lean_object* x_887; lean_object* x_894; 
x_894 = lean_ctor_get(x_5, 3);
lean_inc(x_894);
if (lean_obj_tag(x_894) == 0)
{
lean_object* x_895; 
lean_dec(x_6);
x_895 = lean_box(0);
x_17 = x_895;
goto block_886;
}
else
{
lean_object* x_896; 
x_896 = lean_ctor_get(x_894, 0);
lean_inc(x_896);
lean_dec(x_894);
switch (lean_obj_tag(x_896)) {
case 2:
{
lean_object* x_897; lean_object* x_898; lean_object* x_899; lean_object* x_900; uint8_t x_901; 
x_897 = lean_ctor_get(x_896, 0);
lean_inc(x_897);
x_898 = lean_ctor_get(x_897, 0);
lean_inc(x_898);
x_899 = lean_ctor_get(x_897, 1);
lean_inc(x_899);
lean_dec(x_897);
x_900 = lean_unsigned_to_nat(0u);
x_901 = lean_nat_dec_eq(x_899, x_900);
lean_dec(x_899);
if (x_901 == 0)
{
lean_object* x_902; lean_object* x_903; lean_object* x_904; lean_object* x_905; lean_object* x_906; lean_object* x_907; lean_object* x_908; lean_object* x_909; 
lean_dec(x_898);
x_902 = lean_unsigned_to_nat(80u);
x_903 = l_Lean_Json_pretty(x_896, x_902);
x_904 = l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__1;
x_905 = lean_string_append(x_904, x_903);
lean_dec(x_903);
x_906 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_907 = lean_string_append(x_905, x_906);
if (lean_is_scalar(x_6)) {
 x_908 = lean_alloc_ctor(0, 1, 0);
} else {
 x_908 = x_6;
 lean_ctor_set_tag(x_908, 0);
}
lean_ctor_set(x_908, 0, x_907);
x_909 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__5(x_908, x_3);
x_887 = x_909;
goto block_893;
}
else
{
uint8_t x_910; 
x_910 = !lean_is_exclusive(x_896);
if (x_910 == 0)
{
lean_object* x_911; lean_object* x_912; lean_object* x_913; 
x_911 = lean_ctor_get(x_896, 0);
lean_dec(x_911);
lean_ctor_set_tag(x_896, 0);
lean_ctor_set(x_896, 0, x_898);
if (lean_is_scalar(x_6)) {
 x_912 = lean_alloc_ctor(1, 1, 0);
} else {
 x_912 = x_6;
}
lean_ctor_set(x_912, 0, x_896);
x_913 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__5(x_912, x_3);
x_887 = x_913;
goto block_893;
}
else
{
lean_object* x_914; lean_object* x_915; lean_object* x_916; 
lean_dec(x_896);
x_914 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_914, 0, x_898);
if (lean_is_scalar(x_6)) {
 x_915 = lean_alloc_ctor(1, 1, 0);
} else {
 x_915 = x_6;
}
lean_ctor_set(x_915, 0, x_914);
x_916 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__5(x_915, x_3);
x_887 = x_916;
goto block_893;
}
}
}
case 3:
{
uint8_t x_917; 
x_917 = !lean_is_exclusive(x_896);
if (x_917 == 0)
{
lean_object* x_918; lean_object* x_919; 
lean_ctor_set_tag(x_896, 1);
if (lean_is_scalar(x_6)) {
 x_918 = lean_alloc_ctor(1, 1, 0);
} else {
 x_918 = x_6;
}
lean_ctor_set(x_918, 0, x_896);
x_919 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__5(x_918, x_3);
x_887 = x_919;
goto block_893;
}
else
{
lean_object* x_920; lean_object* x_921; lean_object* x_922; lean_object* x_923; 
x_920 = lean_ctor_get(x_896, 0);
lean_inc(x_920);
lean_dec(x_896);
x_921 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_921, 0, x_920);
if (lean_is_scalar(x_6)) {
 x_922 = lean_alloc_ctor(1, 1, 0);
} else {
 x_922 = x_6;
}
lean_ctor_set(x_922, 0, x_921);
x_923 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__5(x_922, x_3);
x_887 = x_923;
goto block_893;
}
}
default: 
{
lean_object* x_924; lean_object* x_925; lean_object* x_926; lean_object* x_927; lean_object* x_928; lean_object* x_929; lean_object* x_930; lean_object* x_931; 
x_924 = lean_unsigned_to_nat(80u);
x_925 = l_Lean_Json_pretty(x_896, x_924);
x_926 = l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__1;
x_927 = lean_string_append(x_926, x_925);
lean_dec(x_925);
x_928 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_929 = lean_string_append(x_927, x_928);
if (lean_is_scalar(x_6)) {
 x_930 = lean_alloc_ctor(0, 1, 0);
} else {
 x_930 = x_6;
 lean_ctor_set_tag(x_930, 0);
}
lean_ctor_set(x_930, 0, x_929);
x_931 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__5(x_930, x_3);
x_887 = x_931;
goto block_893;
}
}
}
block_886:
{
lean_object* x_18; 
x_18 = lean_ctor_get(x_5, 4);
lean_inc(x_18);
if (lean_obj_tag(x_18) == 0)
{
lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; 
x_19 = lean_box(0);
x_20 = lean_ctor_get(x_1, 1);
lean_inc(x_20);
lean_dec(x_1);
x_21 = lean_ctor_get(x_5, 5);
lean_inc(x_21);
lean_inc(x_3);
x_22 = lean_apply_2(x_20, x_21, x_3);
if (lean_obj_tag(x_22) == 0)
{
uint8_t x_23; 
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_23 = !lean_is_exclusive(x_22);
if (x_23 == 0)
{
return x_22;
}
else
{
lean_object* x_24; lean_object* x_25; 
x_24 = lean_ctor_get(x_22, 0);
lean_inc(x_24);
lean_dec(x_22);
x_25 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_25, 0, x_24);
return x_25;
}
}
else
{
lean_object* x_26; 
x_26 = lean_ctor_get(x_5, 6);
lean_inc(x_26);
if (lean_obj_tag(x_26) == 0)
{
lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_58; 
x_27 = lean_ctor_get(x_22, 0);
lean_inc(x_27);
if (lean_is_exclusive(x_22)) {
 lean_ctor_release(x_22, 0);
 x_28 = x_22;
} else {
 lean_dec_ref(x_22);
 x_28 = lean_box(0);
}
x_58 = lean_ctor_get(x_5, 7);
lean_inc(x_58);
if (lean_obj_tag(x_58) == 0)
{
lean_dec(x_14);
x_29 = x_19;
goto block_57;
}
else
{
uint8_t x_59; 
x_59 = !lean_is_exclusive(x_58);
if (x_59 == 0)
{
lean_object* x_60; 
x_60 = lean_ctor_get(x_58, 0);
if (lean_obj_tag(x_60) == 4)
{
lean_object* x_61; lean_object* x_62; size_t x_63; size_t x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; size_t x_68; lean_object* x_69; 
lean_dec(x_14);
x_61 = lean_ctor_get(x_60, 0);
lean_inc(x_61);
lean_dec(x_60);
x_62 = lean_array_get_size(x_61);
x_63 = lean_usize_of_nat(x_62);
lean_dec(x_62);
x_64 = 0;
x_65 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1661____spec__2(x_63, x_64, x_61);
x_66 = lean_ctor_get(x_65, 0);
lean_inc(x_66);
lean_dec(x_65);
x_67 = lean_array_get_size(x_66);
x_68 = lean_usize_of_nat(x_67);
lean_dec(x_67);
x_69 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2(x_68, x_64, x_66, x_3);
if (lean_obj_tag(x_69) == 0)
{
uint8_t x_70; 
lean_free_object(x_58);
lean_dec(x_28);
lean_dec(x_27);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_70 = !lean_is_exclusive(x_69);
if (x_70 == 0)
{
return x_69;
}
else
{
lean_object* x_71; lean_object* x_72; 
x_71 = lean_ctor_get(x_69, 0);
lean_inc(x_71);
lean_dec(x_69);
x_72 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_72, 0, x_71);
return x_72;
}
}
else
{
lean_object* x_73; 
x_73 = lean_ctor_get(x_69, 0);
lean_inc(x_73);
lean_dec(x_69);
lean_ctor_set(x_58, 0, x_73);
x_29 = x_58;
goto block_57;
}
}
else
{
lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; 
lean_free_object(x_58);
lean_dec(x_28);
lean_dec(x_27);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_74 = lean_unsigned_to_nat(80u);
x_75 = l_Lean_Json_pretty(x_60, x_74);
x_76 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_77 = lean_string_append(x_76, x_75);
lean_dec(x_75);
x_78 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_79 = lean_string_append(x_77, x_78);
if (lean_is_scalar(x_14)) {
 x_80 = lean_alloc_ctor(0, 1, 0);
} else {
 x_80 = x_14;
 lean_ctor_set_tag(x_80, 0);
}
lean_ctor_set(x_80, 0, x_79);
return x_80;
}
}
else
{
lean_object* x_81; 
x_81 = lean_ctor_get(x_58, 0);
lean_inc(x_81);
lean_dec(x_58);
if (lean_obj_tag(x_81) == 4)
{
lean_object* x_82; lean_object* x_83; size_t x_84; size_t x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; size_t x_89; lean_object* x_90; 
lean_dec(x_14);
x_82 = lean_ctor_get(x_81, 0);
lean_inc(x_82);
lean_dec(x_81);
x_83 = lean_array_get_size(x_82);
x_84 = lean_usize_of_nat(x_83);
lean_dec(x_83);
x_85 = 0;
x_86 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1661____spec__2(x_84, x_85, x_82);
x_87 = lean_ctor_get(x_86, 0);
lean_inc(x_87);
lean_dec(x_86);
x_88 = lean_array_get_size(x_87);
x_89 = lean_usize_of_nat(x_88);
lean_dec(x_88);
x_90 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2(x_89, x_85, x_87, x_3);
if (lean_obj_tag(x_90) == 0)
{
lean_object* x_91; lean_object* x_92; lean_object* x_93; 
lean_dec(x_28);
lean_dec(x_27);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_91 = lean_ctor_get(x_90, 0);
lean_inc(x_91);
if (lean_is_exclusive(x_90)) {
 lean_ctor_release(x_90, 0);
 x_92 = x_90;
} else {
 lean_dec_ref(x_90);
 x_92 = lean_box(0);
}
if (lean_is_scalar(x_92)) {
 x_93 = lean_alloc_ctor(0, 1, 0);
} else {
 x_93 = x_92;
}
lean_ctor_set(x_93, 0, x_91);
return x_93;
}
else
{
lean_object* x_94; lean_object* x_95; 
x_94 = lean_ctor_get(x_90, 0);
lean_inc(x_94);
lean_dec(x_90);
x_95 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_95, 0, x_94);
x_29 = x_95;
goto block_57;
}
}
else
{
lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; 
lean_dec(x_28);
lean_dec(x_27);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_96 = lean_unsigned_to_nat(80u);
x_97 = l_Lean_Json_pretty(x_81, x_96);
x_98 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_99 = lean_string_append(x_98, x_97);
lean_dec(x_97);
x_100 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_101 = lean_string_append(x_99, x_100);
if (lean_is_scalar(x_14)) {
 x_102 = lean_alloc_ctor(0, 1, 0);
} else {
 x_102 = x_14;
 lean_ctor_set_tag(x_102, 0);
}
lean_ctor_set(x_102, 0, x_101);
return x_102;
}
}
}
block_57:
{
lean_object* x_30; 
x_30 = lean_ctor_get(x_5, 8);
lean_inc(x_30);
lean_dec(x_5);
if (lean_obj_tag(x_30) == 0)
{
lean_object* x_31; lean_object* x_32; 
lean_dec(x_3);
x_31 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_31, 0, x_13);
lean_ctor_set(x_31, 1, x_15);
lean_ctor_set(x_31, 2, x_16);
lean_ctor_set(x_31, 3, x_17);
lean_ctor_set(x_31, 4, x_19);
lean_ctor_set(x_31, 5, x_27);
lean_ctor_set(x_31, 6, x_19);
lean_ctor_set(x_31, 7, x_29);
lean_ctor_set(x_31, 8, x_19);
if (lean_is_scalar(x_28)) {
 x_32 = lean_alloc_ctor(1, 1, 0);
} else {
 x_32 = x_28;
}
lean_ctor_set(x_32, 0, x_31);
return x_32;
}
else
{
uint8_t x_33; 
x_33 = !lean_is_exclusive(x_30);
if (x_33 == 0)
{
lean_object* x_34; lean_object* x_35; lean_object* x_36; 
x_34 = lean_ctor_get(x_30, 0);
if (lean_is_scalar(x_28)) {
 x_35 = lean_alloc_ctor(1, 1, 0);
} else {
 x_35 = x_28;
}
lean_ctor_set(x_35, 0, x_34);
x_36 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_WidgetInstance_instRpcEncodableWidgetInstance_dec____x40_Lean_Widget_Types___hyg_3____spec__2(x_35, x_3);
lean_dec(x_3);
if (lean_obj_tag(x_36) == 0)
{
uint8_t x_37; 
lean_free_object(x_30);
lean_dec(x_29);
lean_dec(x_27);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
x_37 = !lean_is_exclusive(x_36);
if (x_37 == 0)
{
return x_36;
}
else
{
lean_object* x_38; lean_object* x_39; 
x_38 = lean_ctor_get(x_36, 0);
lean_inc(x_38);
lean_dec(x_36);
x_39 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_39, 0, x_38);
return x_39;
}
}
else
{
uint8_t x_40; 
x_40 = !lean_is_exclusive(x_36);
if (x_40 == 0)
{
lean_object* x_41; lean_object* x_42; 
x_41 = lean_ctor_get(x_36, 0);
lean_ctor_set(x_30, 0, x_41);
x_42 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_42, 0, x_13);
lean_ctor_set(x_42, 1, x_15);
lean_ctor_set(x_42, 2, x_16);
lean_ctor_set(x_42, 3, x_17);
lean_ctor_set(x_42, 4, x_19);
lean_ctor_set(x_42, 5, x_27);
lean_ctor_set(x_42, 6, x_19);
lean_ctor_set(x_42, 7, x_29);
lean_ctor_set(x_42, 8, x_30);
lean_ctor_set(x_36, 0, x_42);
return x_36;
}
else
{
lean_object* x_43; lean_object* x_44; lean_object* x_45; 
x_43 = lean_ctor_get(x_36, 0);
lean_inc(x_43);
lean_dec(x_36);
lean_ctor_set(x_30, 0, x_43);
x_44 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_44, 0, x_13);
lean_ctor_set(x_44, 1, x_15);
lean_ctor_set(x_44, 2, x_16);
lean_ctor_set(x_44, 3, x_17);
lean_ctor_set(x_44, 4, x_19);
lean_ctor_set(x_44, 5, x_27);
lean_ctor_set(x_44, 6, x_19);
lean_ctor_set(x_44, 7, x_29);
lean_ctor_set(x_44, 8, x_30);
x_45 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_45, 0, x_44);
return x_45;
}
}
}
else
{
lean_object* x_46; lean_object* x_47; lean_object* x_48; 
x_46 = lean_ctor_get(x_30, 0);
lean_inc(x_46);
lean_dec(x_30);
if (lean_is_scalar(x_28)) {
 x_47 = lean_alloc_ctor(1, 1, 0);
} else {
 x_47 = x_28;
}
lean_ctor_set(x_47, 0, x_46);
x_48 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_WidgetInstance_instRpcEncodableWidgetInstance_dec____x40_Lean_Widget_Types___hyg_3____spec__2(x_47, x_3);
lean_dec(x_3);
if (lean_obj_tag(x_48) == 0)
{
lean_object* x_49; lean_object* x_50; lean_object* x_51; 
lean_dec(x_29);
lean_dec(x_27);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
x_49 = lean_ctor_get(x_48, 0);
lean_inc(x_49);
if (lean_is_exclusive(x_48)) {
 lean_ctor_release(x_48, 0);
 x_50 = x_48;
} else {
 lean_dec_ref(x_48);
 x_50 = lean_box(0);
}
if (lean_is_scalar(x_50)) {
 x_51 = lean_alloc_ctor(0, 1, 0);
} else {
 x_51 = x_50;
}
lean_ctor_set(x_51, 0, x_49);
return x_51;
}
else
{
lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; 
x_52 = lean_ctor_get(x_48, 0);
lean_inc(x_52);
if (lean_is_exclusive(x_48)) {
 lean_ctor_release(x_48, 0);
 x_53 = x_48;
} else {
 lean_dec_ref(x_48);
 x_53 = lean_box(0);
}
x_54 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_54, 0, x_52);
x_55 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_55, 0, x_13);
lean_ctor_set(x_55, 1, x_15);
lean_ctor_set(x_55, 2, x_16);
lean_ctor_set(x_55, 3, x_17);
lean_ctor_set(x_55, 4, x_19);
lean_ctor_set(x_55, 5, x_27);
lean_ctor_set(x_55, 6, x_19);
lean_ctor_set(x_55, 7, x_29);
lean_ctor_set(x_55, 8, x_54);
if (lean_is_scalar(x_53)) {
 x_56 = lean_alloc_ctor(1, 1, 0);
} else {
 x_56 = x_53;
}
lean_ctor_set(x_56, 0, x_55);
return x_56;
}
}
}
}
}
else
{
uint8_t x_103; 
lean_dec(x_14);
x_103 = !lean_is_exclusive(x_26);
if (x_103 == 0)
{
lean_object* x_104; 
x_104 = lean_ctor_get(x_26, 0);
if (lean_obj_tag(x_104) == 4)
{
lean_object* x_105; lean_object* x_106; lean_object* x_107; size_t x_108; size_t x_109; lean_object* x_110; uint8_t x_111; 
x_105 = lean_ctor_get(x_22, 0);
lean_inc(x_105);
lean_dec(x_22);
x_106 = lean_ctor_get(x_104, 0);
lean_inc(x_106);
lean_dec(x_104);
x_107 = lean_array_get_size(x_106);
x_108 = lean_usize_of_nat(x_107);
lean_dec(x_107);
x_109 = 0;
x_110 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1661____spec__2(x_108, x_109, x_106);
x_111 = !lean_is_exclusive(x_110);
if (x_111 == 0)
{
lean_object* x_112; lean_object* x_113; size_t x_114; lean_object* x_115; 
x_112 = lean_ctor_get(x_110, 0);
x_113 = lean_array_get_size(x_112);
x_114 = lean_usize_of_nat(x_113);
lean_dec(x_113);
x_115 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__4(x_114, x_109, x_112, x_3);
if (lean_obj_tag(x_115) == 0)
{
uint8_t x_116; 
lean_free_object(x_110);
lean_dec(x_105);
lean_free_object(x_26);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_116 = !lean_is_exclusive(x_115);
if (x_116 == 0)
{
return x_115;
}
else
{
lean_object* x_117; lean_object* x_118; 
x_117 = lean_ctor_get(x_115, 0);
lean_inc(x_117);
lean_dec(x_115);
x_118 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_118, 0, x_117);
return x_118;
}
}
else
{
lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_150; 
x_119 = lean_ctor_get(x_115, 0);
lean_inc(x_119);
if (lean_is_exclusive(x_115)) {
 lean_ctor_release(x_115, 0);
 x_120 = x_115;
} else {
 lean_dec_ref(x_115);
 x_120 = lean_box(0);
}
lean_ctor_set(x_26, 0, x_119);
x_150 = lean_ctor_get(x_5, 7);
lean_inc(x_150);
if (lean_obj_tag(x_150) == 0)
{
lean_free_object(x_110);
x_121 = x_19;
goto block_149;
}
else
{
uint8_t x_151; 
x_151 = !lean_is_exclusive(x_150);
if (x_151 == 0)
{
lean_object* x_152; 
x_152 = lean_ctor_get(x_150, 0);
if (lean_obj_tag(x_152) == 4)
{
lean_object* x_153; lean_object* x_154; size_t x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; size_t x_159; lean_object* x_160; 
lean_free_object(x_110);
x_153 = lean_ctor_get(x_152, 0);
lean_inc(x_153);
lean_dec(x_152);
x_154 = lean_array_get_size(x_153);
x_155 = lean_usize_of_nat(x_154);
lean_dec(x_154);
x_156 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1661____spec__2(x_155, x_109, x_153);
x_157 = lean_ctor_get(x_156, 0);
lean_inc(x_157);
lean_dec(x_156);
x_158 = lean_array_get_size(x_157);
x_159 = lean_usize_of_nat(x_158);
lean_dec(x_158);
x_160 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2(x_159, x_109, x_157, x_3);
if (lean_obj_tag(x_160) == 0)
{
uint8_t x_161; 
lean_free_object(x_150);
lean_dec(x_26);
lean_dec(x_120);
lean_dec(x_105);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_161 = !lean_is_exclusive(x_160);
if (x_161 == 0)
{
return x_160;
}
else
{
lean_object* x_162; lean_object* x_163; 
x_162 = lean_ctor_get(x_160, 0);
lean_inc(x_162);
lean_dec(x_160);
x_163 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_163, 0, x_162);
return x_163;
}
}
else
{
lean_object* x_164; 
x_164 = lean_ctor_get(x_160, 0);
lean_inc(x_164);
lean_dec(x_160);
lean_ctor_set(x_150, 0, x_164);
x_121 = x_150;
goto block_149;
}
}
else
{
lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; 
lean_free_object(x_150);
lean_dec(x_26);
lean_dec(x_120);
lean_dec(x_105);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_165 = lean_unsigned_to_nat(80u);
x_166 = l_Lean_Json_pretty(x_152, x_165);
x_167 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_168 = lean_string_append(x_167, x_166);
lean_dec(x_166);
x_169 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_170 = lean_string_append(x_168, x_169);
lean_ctor_set_tag(x_110, 0);
lean_ctor_set(x_110, 0, x_170);
return x_110;
}
}
else
{
lean_object* x_171; 
x_171 = lean_ctor_get(x_150, 0);
lean_inc(x_171);
lean_dec(x_150);
if (lean_obj_tag(x_171) == 4)
{
lean_object* x_172; lean_object* x_173; size_t x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; size_t x_178; lean_object* x_179; 
lean_free_object(x_110);
x_172 = lean_ctor_get(x_171, 0);
lean_inc(x_172);
lean_dec(x_171);
x_173 = lean_array_get_size(x_172);
x_174 = lean_usize_of_nat(x_173);
lean_dec(x_173);
x_175 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1661____spec__2(x_174, x_109, x_172);
x_176 = lean_ctor_get(x_175, 0);
lean_inc(x_176);
lean_dec(x_175);
x_177 = lean_array_get_size(x_176);
x_178 = lean_usize_of_nat(x_177);
lean_dec(x_177);
x_179 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2(x_178, x_109, x_176, x_3);
if (lean_obj_tag(x_179) == 0)
{
lean_object* x_180; lean_object* x_181; lean_object* x_182; 
lean_dec(x_26);
lean_dec(x_120);
lean_dec(x_105);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_180 = lean_ctor_get(x_179, 0);
lean_inc(x_180);
if (lean_is_exclusive(x_179)) {
 lean_ctor_release(x_179, 0);
 x_181 = x_179;
} else {
 lean_dec_ref(x_179);
 x_181 = lean_box(0);
}
if (lean_is_scalar(x_181)) {
 x_182 = lean_alloc_ctor(0, 1, 0);
} else {
 x_182 = x_181;
}
lean_ctor_set(x_182, 0, x_180);
return x_182;
}
else
{
lean_object* x_183; lean_object* x_184; 
x_183 = lean_ctor_get(x_179, 0);
lean_inc(x_183);
lean_dec(x_179);
x_184 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_184, 0, x_183);
x_121 = x_184;
goto block_149;
}
}
else
{
lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; 
lean_dec(x_26);
lean_dec(x_120);
lean_dec(x_105);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_185 = lean_unsigned_to_nat(80u);
x_186 = l_Lean_Json_pretty(x_171, x_185);
x_187 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_188 = lean_string_append(x_187, x_186);
lean_dec(x_186);
x_189 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_190 = lean_string_append(x_188, x_189);
lean_ctor_set_tag(x_110, 0);
lean_ctor_set(x_110, 0, x_190);
return x_110;
}
}
}
block_149:
{
lean_object* x_122; 
x_122 = lean_ctor_get(x_5, 8);
lean_inc(x_122);
lean_dec(x_5);
if (lean_obj_tag(x_122) == 0)
{
lean_object* x_123; lean_object* x_124; 
lean_dec(x_3);
x_123 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_123, 0, x_13);
lean_ctor_set(x_123, 1, x_15);
lean_ctor_set(x_123, 2, x_16);
lean_ctor_set(x_123, 3, x_17);
lean_ctor_set(x_123, 4, x_19);
lean_ctor_set(x_123, 5, x_105);
lean_ctor_set(x_123, 6, x_26);
lean_ctor_set(x_123, 7, x_121);
lean_ctor_set(x_123, 8, x_19);
if (lean_is_scalar(x_120)) {
 x_124 = lean_alloc_ctor(1, 1, 0);
} else {
 x_124 = x_120;
}
lean_ctor_set(x_124, 0, x_123);
return x_124;
}
else
{
uint8_t x_125; 
x_125 = !lean_is_exclusive(x_122);
if (x_125 == 0)
{
lean_object* x_126; lean_object* x_127; lean_object* x_128; 
x_126 = lean_ctor_get(x_122, 0);
if (lean_is_scalar(x_120)) {
 x_127 = lean_alloc_ctor(1, 1, 0);
} else {
 x_127 = x_120;
}
lean_ctor_set(x_127, 0, x_126);
x_128 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_WidgetInstance_instRpcEncodableWidgetInstance_dec____x40_Lean_Widget_Types___hyg_3____spec__2(x_127, x_3);
lean_dec(x_3);
if (lean_obj_tag(x_128) == 0)
{
uint8_t x_129; 
lean_free_object(x_122);
lean_dec(x_121);
lean_dec(x_26);
lean_dec(x_105);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
x_129 = !lean_is_exclusive(x_128);
if (x_129 == 0)
{
return x_128;
}
else
{
lean_object* x_130; lean_object* x_131; 
x_130 = lean_ctor_get(x_128, 0);
lean_inc(x_130);
lean_dec(x_128);
x_131 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_131, 0, x_130);
return x_131;
}
}
else
{
uint8_t x_132; 
x_132 = !lean_is_exclusive(x_128);
if (x_132 == 0)
{
lean_object* x_133; lean_object* x_134; 
x_133 = lean_ctor_get(x_128, 0);
lean_ctor_set(x_122, 0, x_133);
x_134 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_134, 0, x_13);
lean_ctor_set(x_134, 1, x_15);
lean_ctor_set(x_134, 2, x_16);
lean_ctor_set(x_134, 3, x_17);
lean_ctor_set(x_134, 4, x_19);
lean_ctor_set(x_134, 5, x_105);
lean_ctor_set(x_134, 6, x_26);
lean_ctor_set(x_134, 7, x_121);
lean_ctor_set(x_134, 8, x_122);
lean_ctor_set(x_128, 0, x_134);
return x_128;
}
else
{
lean_object* x_135; lean_object* x_136; lean_object* x_137; 
x_135 = lean_ctor_get(x_128, 0);
lean_inc(x_135);
lean_dec(x_128);
lean_ctor_set(x_122, 0, x_135);
x_136 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_136, 0, x_13);
lean_ctor_set(x_136, 1, x_15);
lean_ctor_set(x_136, 2, x_16);
lean_ctor_set(x_136, 3, x_17);
lean_ctor_set(x_136, 4, x_19);
lean_ctor_set(x_136, 5, x_105);
lean_ctor_set(x_136, 6, x_26);
lean_ctor_set(x_136, 7, x_121);
lean_ctor_set(x_136, 8, x_122);
x_137 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_137, 0, x_136);
return x_137;
}
}
}
else
{
lean_object* x_138; lean_object* x_139; lean_object* x_140; 
x_138 = lean_ctor_get(x_122, 0);
lean_inc(x_138);
lean_dec(x_122);
if (lean_is_scalar(x_120)) {
 x_139 = lean_alloc_ctor(1, 1, 0);
} else {
 x_139 = x_120;
}
lean_ctor_set(x_139, 0, x_138);
x_140 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_WidgetInstance_instRpcEncodableWidgetInstance_dec____x40_Lean_Widget_Types___hyg_3____spec__2(x_139, x_3);
lean_dec(x_3);
if (lean_obj_tag(x_140) == 0)
{
lean_object* x_141; lean_object* x_142; lean_object* x_143; 
lean_dec(x_121);
lean_dec(x_26);
lean_dec(x_105);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
x_141 = lean_ctor_get(x_140, 0);
lean_inc(x_141);
if (lean_is_exclusive(x_140)) {
 lean_ctor_release(x_140, 0);
 x_142 = x_140;
} else {
 lean_dec_ref(x_140);
 x_142 = lean_box(0);
}
if (lean_is_scalar(x_142)) {
 x_143 = lean_alloc_ctor(0, 1, 0);
} else {
 x_143 = x_142;
}
lean_ctor_set(x_143, 0, x_141);
return x_143;
}
else
{
lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; 
x_144 = lean_ctor_get(x_140, 0);
lean_inc(x_144);
if (lean_is_exclusive(x_140)) {
 lean_ctor_release(x_140, 0);
 x_145 = x_140;
} else {
 lean_dec_ref(x_140);
 x_145 = lean_box(0);
}
x_146 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_146, 0, x_144);
x_147 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_147, 0, x_13);
lean_ctor_set(x_147, 1, x_15);
lean_ctor_set(x_147, 2, x_16);
lean_ctor_set(x_147, 3, x_17);
lean_ctor_set(x_147, 4, x_19);
lean_ctor_set(x_147, 5, x_105);
lean_ctor_set(x_147, 6, x_26);
lean_ctor_set(x_147, 7, x_121);
lean_ctor_set(x_147, 8, x_146);
if (lean_is_scalar(x_145)) {
 x_148 = lean_alloc_ctor(1, 1, 0);
} else {
 x_148 = x_145;
}
lean_ctor_set(x_148, 0, x_147);
return x_148;
}
}
}
}
}
}
else
{
lean_object* x_191; lean_object* x_192; size_t x_193; lean_object* x_194; 
x_191 = lean_ctor_get(x_110, 0);
lean_inc(x_191);
lean_dec(x_110);
x_192 = lean_array_get_size(x_191);
x_193 = lean_usize_of_nat(x_192);
lean_dec(x_192);
x_194 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__4(x_193, x_109, x_191, x_3);
if (lean_obj_tag(x_194) == 0)
{
lean_object* x_195; lean_object* x_196; lean_object* x_197; 
lean_dec(x_105);
lean_free_object(x_26);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_195 = lean_ctor_get(x_194, 0);
lean_inc(x_195);
if (lean_is_exclusive(x_194)) {
 lean_ctor_release(x_194, 0);
 x_196 = x_194;
} else {
 lean_dec_ref(x_194);
 x_196 = lean_box(0);
}
if (lean_is_scalar(x_196)) {
 x_197 = lean_alloc_ctor(0, 1, 0);
} else {
 x_197 = x_196;
}
lean_ctor_set(x_197, 0, x_195);
return x_197;
}
else
{
lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_217; 
x_198 = lean_ctor_get(x_194, 0);
lean_inc(x_198);
if (lean_is_exclusive(x_194)) {
 lean_ctor_release(x_194, 0);
 x_199 = x_194;
} else {
 lean_dec_ref(x_194);
 x_199 = lean_box(0);
}
lean_ctor_set(x_26, 0, x_198);
x_217 = lean_ctor_get(x_5, 7);
lean_inc(x_217);
if (lean_obj_tag(x_217) == 0)
{
x_200 = x_19;
goto block_216;
}
else
{
lean_object* x_218; lean_object* x_219; 
x_218 = lean_ctor_get(x_217, 0);
lean_inc(x_218);
if (lean_is_exclusive(x_217)) {
 lean_ctor_release(x_217, 0);
 x_219 = x_217;
} else {
 lean_dec_ref(x_217);
 x_219 = lean_box(0);
}
if (lean_obj_tag(x_218) == 4)
{
lean_object* x_220; lean_object* x_221; size_t x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; size_t x_226; lean_object* x_227; 
x_220 = lean_ctor_get(x_218, 0);
lean_inc(x_220);
lean_dec(x_218);
x_221 = lean_array_get_size(x_220);
x_222 = lean_usize_of_nat(x_221);
lean_dec(x_221);
x_223 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1661____spec__2(x_222, x_109, x_220);
x_224 = lean_ctor_get(x_223, 0);
lean_inc(x_224);
lean_dec(x_223);
x_225 = lean_array_get_size(x_224);
x_226 = lean_usize_of_nat(x_225);
lean_dec(x_225);
x_227 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2(x_226, x_109, x_224, x_3);
if (lean_obj_tag(x_227) == 0)
{
lean_object* x_228; lean_object* x_229; lean_object* x_230; 
lean_dec(x_219);
lean_dec(x_26);
lean_dec(x_199);
lean_dec(x_105);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_228 = lean_ctor_get(x_227, 0);
lean_inc(x_228);
if (lean_is_exclusive(x_227)) {
 lean_ctor_release(x_227, 0);
 x_229 = x_227;
} else {
 lean_dec_ref(x_227);
 x_229 = lean_box(0);
}
if (lean_is_scalar(x_229)) {
 x_230 = lean_alloc_ctor(0, 1, 0);
} else {
 x_230 = x_229;
}
lean_ctor_set(x_230, 0, x_228);
return x_230;
}
else
{
lean_object* x_231; lean_object* x_232; 
x_231 = lean_ctor_get(x_227, 0);
lean_inc(x_231);
lean_dec(x_227);
if (lean_is_scalar(x_219)) {
 x_232 = lean_alloc_ctor(1, 1, 0);
} else {
 x_232 = x_219;
}
lean_ctor_set(x_232, 0, x_231);
x_200 = x_232;
goto block_216;
}
}
else
{
lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; 
lean_dec(x_219);
lean_dec(x_26);
lean_dec(x_199);
lean_dec(x_105);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_233 = lean_unsigned_to_nat(80u);
x_234 = l_Lean_Json_pretty(x_218, x_233);
x_235 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_236 = lean_string_append(x_235, x_234);
lean_dec(x_234);
x_237 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_238 = lean_string_append(x_236, x_237);
x_239 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_239, 0, x_238);
return x_239;
}
}
block_216:
{
lean_object* x_201; 
x_201 = lean_ctor_get(x_5, 8);
lean_inc(x_201);
lean_dec(x_5);
if (lean_obj_tag(x_201) == 0)
{
lean_object* x_202; lean_object* x_203; 
lean_dec(x_3);
x_202 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_202, 0, x_13);
lean_ctor_set(x_202, 1, x_15);
lean_ctor_set(x_202, 2, x_16);
lean_ctor_set(x_202, 3, x_17);
lean_ctor_set(x_202, 4, x_19);
lean_ctor_set(x_202, 5, x_105);
lean_ctor_set(x_202, 6, x_26);
lean_ctor_set(x_202, 7, x_200);
lean_ctor_set(x_202, 8, x_19);
if (lean_is_scalar(x_199)) {
 x_203 = lean_alloc_ctor(1, 1, 0);
} else {
 x_203 = x_199;
}
lean_ctor_set(x_203, 0, x_202);
return x_203;
}
else
{
lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; 
x_204 = lean_ctor_get(x_201, 0);
lean_inc(x_204);
if (lean_is_exclusive(x_201)) {
 lean_ctor_release(x_201, 0);
 x_205 = x_201;
} else {
 lean_dec_ref(x_201);
 x_205 = lean_box(0);
}
if (lean_is_scalar(x_199)) {
 x_206 = lean_alloc_ctor(1, 1, 0);
} else {
 x_206 = x_199;
}
lean_ctor_set(x_206, 0, x_204);
x_207 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_WidgetInstance_instRpcEncodableWidgetInstance_dec____x40_Lean_Widget_Types___hyg_3____spec__2(x_206, x_3);
lean_dec(x_3);
if (lean_obj_tag(x_207) == 0)
{
lean_object* x_208; lean_object* x_209; lean_object* x_210; 
lean_dec(x_205);
lean_dec(x_200);
lean_dec(x_26);
lean_dec(x_105);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
x_208 = lean_ctor_get(x_207, 0);
lean_inc(x_208);
if (lean_is_exclusive(x_207)) {
 lean_ctor_release(x_207, 0);
 x_209 = x_207;
} else {
 lean_dec_ref(x_207);
 x_209 = lean_box(0);
}
if (lean_is_scalar(x_209)) {
 x_210 = lean_alloc_ctor(0, 1, 0);
} else {
 x_210 = x_209;
}
lean_ctor_set(x_210, 0, x_208);
return x_210;
}
else
{
lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; 
x_211 = lean_ctor_get(x_207, 0);
lean_inc(x_211);
if (lean_is_exclusive(x_207)) {
 lean_ctor_release(x_207, 0);
 x_212 = x_207;
} else {
 lean_dec_ref(x_207);
 x_212 = lean_box(0);
}
if (lean_is_scalar(x_205)) {
 x_213 = lean_alloc_ctor(1, 1, 0);
} else {
 x_213 = x_205;
}
lean_ctor_set(x_213, 0, x_211);
x_214 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_214, 0, x_13);
lean_ctor_set(x_214, 1, x_15);
lean_ctor_set(x_214, 2, x_16);
lean_ctor_set(x_214, 3, x_17);
lean_ctor_set(x_214, 4, x_19);
lean_ctor_set(x_214, 5, x_105);
lean_ctor_set(x_214, 6, x_26);
lean_ctor_set(x_214, 7, x_200);
lean_ctor_set(x_214, 8, x_213);
if (lean_is_scalar(x_212)) {
 x_215 = lean_alloc_ctor(1, 1, 0);
} else {
 x_215 = x_212;
}
lean_ctor_set(x_215, 0, x_214);
return x_215;
}
}
}
}
}
}
else
{
uint8_t x_240; 
lean_free_object(x_26);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_240 = !lean_is_exclusive(x_22);
if (x_240 == 0)
{
lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; 
x_241 = lean_ctor_get(x_22, 0);
lean_dec(x_241);
x_242 = lean_unsigned_to_nat(80u);
x_243 = l_Lean_Json_pretty(x_104, x_242);
x_244 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_245 = lean_string_append(x_244, x_243);
lean_dec(x_243);
x_246 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_247 = lean_string_append(x_245, x_246);
lean_ctor_set_tag(x_22, 0);
lean_ctor_set(x_22, 0, x_247);
return x_22;
}
else
{
lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; 
lean_dec(x_22);
x_248 = lean_unsigned_to_nat(80u);
x_249 = l_Lean_Json_pretty(x_104, x_248);
x_250 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_251 = lean_string_append(x_250, x_249);
lean_dec(x_249);
x_252 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_253 = lean_string_append(x_251, x_252);
x_254 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_254, 0, x_253);
return x_254;
}
}
}
else
{
lean_object* x_255; 
x_255 = lean_ctor_get(x_26, 0);
lean_inc(x_255);
lean_dec(x_26);
if (lean_obj_tag(x_255) == 4)
{
lean_object* x_256; lean_object* x_257; lean_object* x_258; size_t x_259; size_t x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; size_t x_265; lean_object* x_266; 
x_256 = lean_ctor_get(x_22, 0);
lean_inc(x_256);
lean_dec(x_22);
x_257 = lean_ctor_get(x_255, 0);
lean_inc(x_257);
lean_dec(x_255);
x_258 = lean_array_get_size(x_257);
x_259 = lean_usize_of_nat(x_258);
lean_dec(x_258);
x_260 = 0;
x_261 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1661____spec__2(x_259, x_260, x_257);
x_262 = lean_ctor_get(x_261, 0);
lean_inc(x_262);
if (lean_is_exclusive(x_261)) {
 lean_ctor_release(x_261, 0);
 x_263 = x_261;
} else {
 lean_dec_ref(x_261);
 x_263 = lean_box(0);
}
x_264 = lean_array_get_size(x_262);
x_265 = lean_usize_of_nat(x_264);
lean_dec(x_264);
x_266 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__4(x_265, x_260, x_262, x_3);
if (lean_obj_tag(x_266) == 0)
{
lean_object* x_267; lean_object* x_268; lean_object* x_269; 
lean_dec(x_263);
lean_dec(x_256);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_267 = lean_ctor_get(x_266, 0);
lean_inc(x_267);
if (lean_is_exclusive(x_266)) {
 lean_ctor_release(x_266, 0);
 x_268 = x_266;
} else {
 lean_dec_ref(x_266);
 x_268 = lean_box(0);
}
if (lean_is_scalar(x_268)) {
 x_269 = lean_alloc_ctor(0, 1, 0);
} else {
 x_269 = x_268;
}
lean_ctor_set(x_269, 0, x_267);
return x_269;
}
else
{
lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_290; 
x_270 = lean_ctor_get(x_266, 0);
lean_inc(x_270);
if (lean_is_exclusive(x_266)) {
 lean_ctor_release(x_266, 0);
 x_271 = x_266;
} else {
 lean_dec_ref(x_266);
 x_271 = lean_box(0);
}
x_272 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_272, 0, x_270);
x_290 = lean_ctor_get(x_5, 7);
lean_inc(x_290);
if (lean_obj_tag(x_290) == 0)
{
lean_dec(x_263);
x_273 = x_19;
goto block_289;
}
else
{
lean_object* x_291; lean_object* x_292; 
x_291 = lean_ctor_get(x_290, 0);
lean_inc(x_291);
if (lean_is_exclusive(x_290)) {
 lean_ctor_release(x_290, 0);
 x_292 = x_290;
} else {
 lean_dec_ref(x_290);
 x_292 = lean_box(0);
}
if (lean_obj_tag(x_291) == 4)
{
lean_object* x_293; lean_object* x_294; size_t x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; size_t x_299; lean_object* x_300; 
lean_dec(x_263);
x_293 = lean_ctor_get(x_291, 0);
lean_inc(x_293);
lean_dec(x_291);
x_294 = lean_array_get_size(x_293);
x_295 = lean_usize_of_nat(x_294);
lean_dec(x_294);
x_296 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1661____spec__2(x_295, x_260, x_293);
x_297 = lean_ctor_get(x_296, 0);
lean_inc(x_297);
lean_dec(x_296);
x_298 = lean_array_get_size(x_297);
x_299 = lean_usize_of_nat(x_298);
lean_dec(x_298);
x_300 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2(x_299, x_260, x_297, x_3);
if (lean_obj_tag(x_300) == 0)
{
lean_object* x_301; lean_object* x_302; lean_object* x_303; 
lean_dec(x_292);
lean_dec(x_272);
lean_dec(x_271);
lean_dec(x_256);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_301 = lean_ctor_get(x_300, 0);
lean_inc(x_301);
if (lean_is_exclusive(x_300)) {
 lean_ctor_release(x_300, 0);
 x_302 = x_300;
} else {
 lean_dec_ref(x_300);
 x_302 = lean_box(0);
}
if (lean_is_scalar(x_302)) {
 x_303 = lean_alloc_ctor(0, 1, 0);
} else {
 x_303 = x_302;
}
lean_ctor_set(x_303, 0, x_301);
return x_303;
}
else
{
lean_object* x_304; lean_object* x_305; 
x_304 = lean_ctor_get(x_300, 0);
lean_inc(x_304);
lean_dec(x_300);
if (lean_is_scalar(x_292)) {
 x_305 = lean_alloc_ctor(1, 1, 0);
} else {
 x_305 = x_292;
}
lean_ctor_set(x_305, 0, x_304);
x_273 = x_305;
goto block_289;
}
}
else
{
lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; 
lean_dec(x_292);
lean_dec(x_272);
lean_dec(x_271);
lean_dec(x_256);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_306 = lean_unsigned_to_nat(80u);
x_307 = l_Lean_Json_pretty(x_291, x_306);
x_308 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_309 = lean_string_append(x_308, x_307);
lean_dec(x_307);
x_310 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_311 = lean_string_append(x_309, x_310);
if (lean_is_scalar(x_263)) {
 x_312 = lean_alloc_ctor(0, 1, 0);
} else {
 x_312 = x_263;
 lean_ctor_set_tag(x_312, 0);
}
lean_ctor_set(x_312, 0, x_311);
return x_312;
}
}
block_289:
{
lean_object* x_274; 
x_274 = lean_ctor_get(x_5, 8);
lean_inc(x_274);
lean_dec(x_5);
if (lean_obj_tag(x_274) == 0)
{
lean_object* x_275; lean_object* x_276; 
lean_dec(x_3);
x_275 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_275, 0, x_13);
lean_ctor_set(x_275, 1, x_15);
lean_ctor_set(x_275, 2, x_16);
lean_ctor_set(x_275, 3, x_17);
lean_ctor_set(x_275, 4, x_19);
lean_ctor_set(x_275, 5, x_256);
lean_ctor_set(x_275, 6, x_272);
lean_ctor_set(x_275, 7, x_273);
lean_ctor_set(x_275, 8, x_19);
if (lean_is_scalar(x_271)) {
 x_276 = lean_alloc_ctor(1, 1, 0);
} else {
 x_276 = x_271;
}
lean_ctor_set(x_276, 0, x_275);
return x_276;
}
else
{
lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; 
x_277 = lean_ctor_get(x_274, 0);
lean_inc(x_277);
if (lean_is_exclusive(x_274)) {
 lean_ctor_release(x_274, 0);
 x_278 = x_274;
} else {
 lean_dec_ref(x_274);
 x_278 = lean_box(0);
}
if (lean_is_scalar(x_271)) {
 x_279 = lean_alloc_ctor(1, 1, 0);
} else {
 x_279 = x_271;
}
lean_ctor_set(x_279, 0, x_277);
x_280 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_WidgetInstance_instRpcEncodableWidgetInstance_dec____x40_Lean_Widget_Types___hyg_3____spec__2(x_279, x_3);
lean_dec(x_3);
if (lean_obj_tag(x_280) == 0)
{
lean_object* x_281; lean_object* x_282; lean_object* x_283; 
lean_dec(x_278);
lean_dec(x_273);
lean_dec(x_272);
lean_dec(x_256);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
x_281 = lean_ctor_get(x_280, 0);
lean_inc(x_281);
if (lean_is_exclusive(x_280)) {
 lean_ctor_release(x_280, 0);
 x_282 = x_280;
} else {
 lean_dec_ref(x_280);
 x_282 = lean_box(0);
}
if (lean_is_scalar(x_282)) {
 x_283 = lean_alloc_ctor(0, 1, 0);
} else {
 x_283 = x_282;
}
lean_ctor_set(x_283, 0, x_281);
return x_283;
}
else
{
lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; 
x_284 = lean_ctor_get(x_280, 0);
lean_inc(x_284);
if (lean_is_exclusive(x_280)) {
 lean_ctor_release(x_280, 0);
 x_285 = x_280;
} else {
 lean_dec_ref(x_280);
 x_285 = lean_box(0);
}
if (lean_is_scalar(x_278)) {
 x_286 = lean_alloc_ctor(1, 1, 0);
} else {
 x_286 = x_278;
}
lean_ctor_set(x_286, 0, x_284);
x_287 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_287, 0, x_13);
lean_ctor_set(x_287, 1, x_15);
lean_ctor_set(x_287, 2, x_16);
lean_ctor_set(x_287, 3, x_17);
lean_ctor_set(x_287, 4, x_19);
lean_ctor_set(x_287, 5, x_256);
lean_ctor_set(x_287, 6, x_272);
lean_ctor_set(x_287, 7, x_273);
lean_ctor_set(x_287, 8, x_286);
if (lean_is_scalar(x_285)) {
 x_288 = lean_alloc_ctor(1, 1, 0);
} else {
 x_288 = x_285;
}
lean_ctor_set(x_288, 0, x_287);
return x_288;
}
}
}
}
}
else
{
lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; 
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
if (lean_is_exclusive(x_22)) {
 lean_ctor_release(x_22, 0);
 x_313 = x_22;
} else {
 lean_dec_ref(x_22);
 x_313 = lean_box(0);
}
x_314 = lean_unsigned_to_nat(80u);
x_315 = l_Lean_Json_pretty(x_255, x_314);
x_316 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_317 = lean_string_append(x_316, x_315);
lean_dec(x_315);
x_318 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_319 = lean_string_append(x_317, x_318);
if (lean_is_scalar(x_313)) {
 x_320 = lean_alloc_ctor(0, 1, 0);
} else {
 x_320 = x_313;
 lean_ctor_set_tag(x_320, 0);
}
lean_ctor_set(x_320, 0, x_319);
return x_320;
}
}
}
}
}
else
{
uint8_t x_321; 
lean_dec(x_14);
x_321 = !lean_is_exclusive(x_18);
if (x_321 == 0)
{
lean_object* x_322; lean_object* x_323; lean_object* x_324; 
x_322 = lean_ctor_get(x_18, 0);
x_323 = l_Lean_Json_getStr_x3f(x_322);
x_324 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__1(x_323, x_3);
if (lean_obj_tag(x_324) == 0)
{
uint8_t x_325; 
lean_free_object(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
lean_dec(x_1);
x_325 = !lean_is_exclusive(x_324);
if (x_325 == 0)
{
return x_324;
}
else
{
lean_object* x_326; lean_object* x_327; 
x_326 = lean_ctor_get(x_324, 0);
lean_inc(x_326);
lean_dec(x_324);
x_327 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_327, 0, x_326);
return x_327;
}
}
else
{
uint8_t x_328; 
x_328 = !lean_is_exclusive(x_324);
if (x_328 == 0)
{
lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; 
x_329 = lean_ctor_get(x_324, 0);
lean_ctor_set(x_18, 0, x_329);
x_330 = lean_ctor_get(x_1, 1);
lean_inc(x_330);
lean_dec(x_1);
x_331 = lean_ctor_get(x_5, 5);
lean_inc(x_331);
lean_inc(x_3);
x_332 = lean_apply_2(x_330, x_331, x_3);
if (lean_obj_tag(x_332) == 0)
{
uint8_t x_333; 
lean_dec(x_18);
lean_free_object(x_324);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_333 = !lean_is_exclusive(x_332);
if (x_333 == 0)
{
return x_332;
}
else
{
lean_object* x_334; lean_object* x_335; 
x_334 = lean_ctor_get(x_332, 0);
lean_inc(x_334);
lean_dec(x_332);
x_335 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_335, 0, x_334);
return x_335;
}
}
else
{
lean_object* x_336; 
x_336 = lean_ctor_get(x_5, 6);
lean_inc(x_336);
if (lean_obj_tag(x_336) == 0)
{
lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_369; 
x_337 = lean_ctor_get(x_332, 0);
lean_inc(x_337);
if (lean_is_exclusive(x_332)) {
 lean_ctor_release(x_332, 0);
 x_338 = x_332;
} else {
 lean_dec_ref(x_332);
 x_338 = lean_box(0);
}
x_339 = lean_box(0);
x_369 = lean_ctor_get(x_5, 7);
lean_inc(x_369);
if (lean_obj_tag(x_369) == 0)
{
lean_free_object(x_324);
x_340 = x_339;
goto block_368;
}
else
{
uint8_t x_370; 
x_370 = !lean_is_exclusive(x_369);
if (x_370 == 0)
{
lean_object* x_371; 
x_371 = lean_ctor_get(x_369, 0);
if (lean_obj_tag(x_371) == 4)
{
lean_object* x_372; lean_object* x_373; size_t x_374; size_t x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; size_t x_379; lean_object* x_380; 
lean_free_object(x_324);
x_372 = lean_ctor_get(x_371, 0);
lean_inc(x_372);
lean_dec(x_371);
x_373 = lean_array_get_size(x_372);
x_374 = lean_usize_of_nat(x_373);
lean_dec(x_373);
x_375 = 0;
x_376 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1661____spec__2(x_374, x_375, x_372);
x_377 = lean_ctor_get(x_376, 0);
lean_inc(x_377);
lean_dec(x_376);
x_378 = lean_array_get_size(x_377);
x_379 = lean_usize_of_nat(x_378);
lean_dec(x_378);
x_380 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2(x_379, x_375, x_377, x_3);
if (lean_obj_tag(x_380) == 0)
{
uint8_t x_381; 
lean_free_object(x_369);
lean_dec(x_338);
lean_dec(x_337);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_381 = !lean_is_exclusive(x_380);
if (x_381 == 0)
{
return x_380;
}
else
{
lean_object* x_382; lean_object* x_383; 
x_382 = lean_ctor_get(x_380, 0);
lean_inc(x_382);
lean_dec(x_380);
x_383 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_383, 0, x_382);
return x_383;
}
}
else
{
lean_object* x_384; 
x_384 = lean_ctor_get(x_380, 0);
lean_inc(x_384);
lean_dec(x_380);
lean_ctor_set(x_369, 0, x_384);
x_340 = x_369;
goto block_368;
}
}
else
{
lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; 
lean_free_object(x_369);
lean_dec(x_338);
lean_dec(x_337);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_385 = lean_unsigned_to_nat(80u);
x_386 = l_Lean_Json_pretty(x_371, x_385);
x_387 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_388 = lean_string_append(x_387, x_386);
lean_dec(x_386);
x_389 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_390 = lean_string_append(x_388, x_389);
lean_ctor_set_tag(x_324, 0);
lean_ctor_set(x_324, 0, x_390);
return x_324;
}
}
else
{
lean_object* x_391; 
x_391 = lean_ctor_get(x_369, 0);
lean_inc(x_391);
lean_dec(x_369);
if (lean_obj_tag(x_391) == 4)
{
lean_object* x_392; lean_object* x_393; size_t x_394; size_t x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; size_t x_399; lean_object* x_400; 
lean_free_object(x_324);
x_392 = lean_ctor_get(x_391, 0);
lean_inc(x_392);
lean_dec(x_391);
x_393 = lean_array_get_size(x_392);
x_394 = lean_usize_of_nat(x_393);
lean_dec(x_393);
x_395 = 0;
x_396 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1661____spec__2(x_394, x_395, x_392);
x_397 = lean_ctor_get(x_396, 0);
lean_inc(x_397);
lean_dec(x_396);
x_398 = lean_array_get_size(x_397);
x_399 = lean_usize_of_nat(x_398);
lean_dec(x_398);
x_400 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2(x_399, x_395, x_397, x_3);
if (lean_obj_tag(x_400) == 0)
{
lean_object* x_401; lean_object* x_402; lean_object* x_403; 
lean_dec(x_338);
lean_dec(x_337);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_401 = lean_ctor_get(x_400, 0);
lean_inc(x_401);
if (lean_is_exclusive(x_400)) {
 lean_ctor_release(x_400, 0);
 x_402 = x_400;
} else {
 lean_dec_ref(x_400);
 x_402 = lean_box(0);
}
if (lean_is_scalar(x_402)) {
 x_403 = lean_alloc_ctor(0, 1, 0);
} else {
 x_403 = x_402;
}
lean_ctor_set(x_403, 0, x_401);
return x_403;
}
else
{
lean_object* x_404; lean_object* x_405; 
x_404 = lean_ctor_get(x_400, 0);
lean_inc(x_404);
lean_dec(x_400);
x_405 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_405, 0, x_404);
x_340 = x_405;
goto block_368;
}
}
else
{
lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; 
lean_dec(x_338);
lean_dec(x_337);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_406 = lean_unsigned_to_nat(80u);
x_407 = l_Lean_Json_pretty(x_391, x_406);
x_408 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_409 = lean_string_append(x_408, x_407);
lean_dec(x_407);
x_410 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_411 = lean_string_append(x_409, x_410);
lean_ctor_set_tag(x_324, 0);
lean_ctor_set(x_324, 0, x_411);
return x_324;
}
}
}
block_368:
{
lean_object* x_341; 
x_341 = lean_ctor_get(x_5, 8);
lean_inc(x_341);
lean_dec(x_5);
if (lean_obj_tag(x_341) == 0)
{
lean_object* x_342; lean_object* x_343; 
lean_dec(x_3);
x_342 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_342, 0, x_13);
lean_ctor_set(x_342, 1, x_15);
lean_ctor_set(x_342, 2, x_16);
lean_ctor_set(x_342, 3, x_17);
lean_ctor_set(x_342, 4, x_18);
lean_ctor_set(x_342, 5, x_337);
lean_ctor_set(x_342, 6, x_339);
lean_ctor_set(x_342, 7, x_340);
lean_ctor_set(x_342, 8, x_339);
if (lean_is_scalar(x_338)) {
 x_343 = lean_alloc_ctor(1, 1, 0);
} else {
 x_343 = x_338;
}
lean_ctor_set(x_343, 0, x_342);
return x_343;
}
else
{
uint8_t x_344; 
x_344 = !lean_is_exclusive(x_341);
if (x_344 == 0)
{
lean_object* x_345; lean_object* x_346; lean_object* x_347; 
x_345 = lean_ctor_get(x_341, 0);
if (lean_is_scalar(x_338)) {
 x_346 = lean_alloc_ctor(1, 1, 0);
} else {
 x_346 = x_338;
}
lean_ctor_set(x_346, 0, x_345);
x_347 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_WidgetInstance_instRpcEncodableWidgetInstance_dec____x40_Lean_Widget_Types___hyg_3____spec__2(x_346, x_3);
lean_dec(x_3);
if (lean_obj_tag(x_347) == 0)
{
uint8_t x_348; 
lean_free_object(x_341);
lean_dec(x_340);
lean_dec(x_337);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
x_348 = !lean_is_exclusive(x_347);
if (x_348 == 0)
{
return x_347;
}
else
{
lean_object* x_349; lean_object* x_350; 
x_349 = lean_ctor_get(x_347, 0);
lean_inc(x_349);
lean_dec(x_347);
x_350 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_350, 0, x_349);
return x_350;
}
}
else
{
uint8_t x_351; 
x_351 = !lean_is_exclusive(x_347);
if (x_351 == 0)
{
lean_object* x_352; lean_object* x_353; 
x_352 = lean_ctor_get(x_347, 0);
lean_ctor_set(x_341, 0, x_352);
x_353 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_353, 0, x_13);
lean_ctor_set(x_353, 1, x_15);
lean_ctor_set(x_353, 2, x_16);
lean_ctor_set(x_353, 3, x_17);
lean_ctor_set(x_353, 4, x_18);
lean_ctor_set(x_353, 5, x_337);
lean_ctor_set(x_353, 6, x_339);
lean_ctor_set(x_353, 7, x_340);
lean_ctor_set(x_353, 8, x_341);
lean_ctor_set(x_347, 0, x_353);
return x_347;
}
else
{
lean_object* x_354; lean_object* x_355; lean_object* x_356; 
x_354 = lean_ctor_get(x_347, 0);
lean_inc(x_354);
lean_dec(x_347);
lean_ctor_set(x_341, 0, x_354);
x_355 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_355, 0, x_13);
lean_ctor_set(x_355, 1, x_15);
lean_ctor_set(x_355, 2, x_16);
lean_ctor_set(x_355, 3, x_17);
lean_ctor_set(x_355, 4, x_18);
lean_ctor_set(x_355, 5, x_337);
lean_ctor_set(x_355, 6, x_339);
lean_ctor_set(x_355, 7, x_340);
lean_ctor_set(x_355, 8, x_341);
x_356 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_356, 0, x_355);
return x_356;
}
}
}
else
{
lean_object* x_357; lean_object* x_358; lean_object* x_359; 
x_357 = lean_ctor_get(x_341, 0);
lean_inc(x_357);
lean_dec(x_341);
if (lean_is_scalar(x_338)) {
 x_358 = lean_alloc_ctor(1, 1, 0);
} else {
 x_358 = x_338;
}
lean_ctor_set(x_358, 0, x_357);
x_359 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_WidgetInstance_instRpcEncodableWidgetInstance_dec____x40_Lean_Widget_Types___hyg_3____spec__2(x_358, x_3);
lean_dec(x_3);
if (lean_obj_tag(x_359) == 0)
{
lean_object* x_360; lean_object* x_361; lean_object* x_362; 
lean_dec(x_340);
lean_dec(x_337);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
x_360 = lean_ctor_get(x_359, 0);
lean_inc(x_360);
if (lean_is_exclusive(x_359)) {
 lean_ctor_release(x_359, 0);
 x_361 = x_359;
} else {
 lean_dec_ref(x_359);
 x_361 = lean_box(0);
}
if (lean_is_scalar(x_361)) {
 x_362 = lean_alloc_ctor(0, 1, 0);
} else {
 x_362 = x_361;
}
lean_ctor_set(x_362, 0, x_360);
return x_362;
}
else
{
lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; 
x_363 = lean_ctor_get(x_359, 0);
lean_inc(x_363);
if (lean_is_exclusive(x_359)) {
 lean_ctor_release(x_359, 0);
 x_364 = x_359;
} else {
 lean_dec_ref(x_359);
 x_364 = lean_box(0);
}
x_365 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_365, 0, x_363);
x_366 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_366, 0, x_13);
lean_ctor_set(x_366, 1, x_15);
lean_ctor_set(x_366, 2, x_16);
lean_ctor_set(x_366, 3, x_17);
lean_ctor_set(x_366, 4, x_18);
lean_ctor_set(x_366, 5, x_337);
lean_ctor_set(x_366, 6, x_339);
lean_ctor_set(x_366, 7, x_340);
lean_ctor_set(x_366, 8, x_365);
if (lean_is_scalar(x_364)) {
 x_367 = lean_alloc_ctor(1, 1, 0);
} else {
 x_367 = x_364;
}
lean_ctor_set(x_367, 0, x_366);
return x_367;
}
}
}
}
}
else
{
uint8_t x_412; 
lean_free_object(x_324);
x_412 = !lean_is_exclusive(x_336);
if (x_412 == 0)
{
lean_object* x_413; 
x_413 = lean_ctor_get(x_336, 0);
if (lean_obj_tag(x_413) == 4)
{
lean_object* x_414; lean_object* x_415; lean_object* x_416; size_t x_417; size_t x_418; lean_object* x_419; uint8_t x_420; 
x_414 = lean_ctor_get(x_332, 0);
lean_inc(x_414);
lean_dec(x_332);
x_415 = lean_ctor_get(x_413, 0);
lean_inc(x_415);
lean_dec(x_413);
x_416 = lean_array_get_size(x_415);
x_417 = lean_usize_of_nat(x_416);
lean_dec(x_416);
x_418 = 0;
x_419 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1661____spec__2(x_417, x_418, x_415);
x_420 = !lean_is_exclusive(x_419);
if (x_420 == 0)
{
lean_object* x_421; lean_object* x_422; size_t x_423; lean_object* x_424; 
x_421 = lean_ctor_get(x_419, 0);
x_422 = lean_array_get_size(x_421);
x_423 = lean_usize_of_nat(x_422);
lean_dec(x_422);
x_424 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__4(x_423, x_418, x_421, x_3);
if (lean_obj_tag(x_424) == 0)
{
uint8_t x_425; 
lean_free_object(x_419);
lean_dec(x_414);
lean_free_object(x_336);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_425 = !lean_is_exclusive(x_424);
if (x_425 == 0)
{
return x_424;
}
else
{
lean_object* x_426; lean_object* x_427; 
x_426 = lean_ctor_get(x_424, 0);
lean_inc(x_426);
lean_dec(x_424);
x_427 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_427, 0, x_426);
return x_427;
}
}
else
{
lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_460; 
x_428 = lean_ctor_get(x_424, 0);
lean_inc(x_428);
if (lean_is_exclusive(x_424)) {
 lean_ctor_release(x_424, 0);
 x_429 = x_424;
} else {
 lean_dec_ref(x_424);
 x_429 = lean_box(0);
}
lean_ctor_set(x_336, 0, x_428);
x_460 = lean_ctor_get(x_5, 7);
lean_inc(x_460);
if (lean_obj_tag(x_460) == 0)
{
lean_object* x_461; 
lean_free_object(x_419);
x_461 = lean_box(0);
x_430 = x_461;
goto block_459;
}
else
{
uint8_t x_462; 
x_462 = !lean_is_exclusive(x_460);
if (x_462 == 0)
{
lean_object* x_463; 
x_463 = lean_ctor_get(x_460, 0);
if (lean_obj_tag(x_463) == 4)
{
lean_object* x_464; lean_object* x_465; size_t x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; size_t x_470; lean_object* x_471; 
lean_free_object(x_419);
x_464 = lean_ctor_get(x_463, 0);
lean_inc(x_464);
lean_dec(x_463);
x_465 = lean_array_get_size(x_464);
x_466 = lean_usize_of_nat(x_465);
lean_dec(x_465);
x_467 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1661____spec__2(x_466, x_418, x_464);
x_468 = lean_ctor_get(x_467, 0);
lean_inc(x_468);
lean_dec(x_467);
x_469 = lean_array_get_size(x_468);
x_470 = lean_usize_of_nat(x_469);
lean_dec(x_469);
x_471 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2(x_470, x_418, x_468, x_3);
if (lean_obj_tag(x_471) == 0)
{
uint8_t x_472; 
lean_free_object(x_460);
lean_dec(x_336);
lean_dec(x_429);
lean_dec(x_414);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_472 = !lean_is_exclusive(x_471);
if (x_472 == 0)
{
return x_471;
}
else
{
lean_object* x_473; lean_object* x_474; 
x_473 = lean_ctor_get(x_471, 0);
lean_inc(x_473);
lean_dec(x_471);
x_474 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_474, 0, x_473);
return x_474;
}
}
else
{
lean_object* x_475; 
x_475 = lean_ctor_get(x_471, 0);
lean_inc(x_475);
lean_dec(x_471);
lean_ctor_set(x_460, 0, x_475);
x_430 = x_460;
goto block_459;
}
}
else
{
lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; 
lean_free_object(x_460);
lean_dec(x_336);
lean_dec(x_429);
lean_dec(x_414);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_476 = lean_unsigned_to_nat(80u);
x_477 = l_Lean_Json_pretty(x_463, x_476);
x_478 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_479 = lean_string_append(x_478, x_477);
lean_dec(x_477);
x_480 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_481 = lean_string_append(x_479, x_480);
lean_ctor_set_tag(x_419, 0);
lean_ctor_set(x_419, 0, x_481);
return x_419;
}
}
else
{
lean_object* x_482; 
x_482 = lean_ctor_get(x_460, 0);
lean_inc(x_482);
lean_dec(x_460);
if (lean_obj_tag(x_482) == 4)
{
lean_object* x_483; lean_object* x_484; size_t x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; size_t x_489; lean_object* x_490; 
lean_free_object(x_419);
x_483 = lean_ctor_get(x_482, 0);
lean_inc(x_483);
lean_dec(x_482);
x_484 = lean_array_get_size(x_483);
x_485 = lean_usize_of_nat(x_484);
lean_dec(x_484);
x_486 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1661____spec__2(x_485, x_418, x_483);
x_487 = lean_ctor_get(x_486, 0);
lean_inc(x_487);
lean_dec(x_486);
x_488 = lean_array_get_size(x_487);
x_489 = lean_usize_of_nat(x_488);
lean_dec(x_488);
x_490 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2(x_489, x_418, x_487, x_3);
if (lean_obj_tag(x_490) == 0)
{
lean_object* x_491; lean_object* x_492; lean_object* x_493; 
lean_dec(x_336);
lean_dec(x_429);
lean_dec(x_414);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_491 = lean_ctor_get(x_490, 0);
lean_inc(x_491);
if (lean_is_exclusive(x_490)) {
 lean_ctor_release(x_490, 0);
 x_492 = x_490;
} else {
 lean_dec_ref(x_490);
 x_492 = lean_box(0);
}
if (lean_is_scalar(x_492)) {
 x_493 = lean_alloc_ctor(0, 1, 0);
} else {
 x_493 = x_492;
}
lean_ctor_set(x_493, 0, x_491);
return x_493;
}
else
{
lean_object* x_494; lean_object* x_495; 
x_494 = lean_ctor_get(x_490, 0);
lean_inc(x_494);
lean_dec(x_490);
x_495 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_495, 0, x_494);
x_430 = x_495;
goto block_459;
}
}
else
{
lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; 
lean_dec(x_336);
lean_dec(x_429);
lean_dec(x_414);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_496 = lean_unsigned_to_nat(80u);
x_497 = l_Lean_Json_pretty(x_482, x_496);
x_498 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_499 = lean_string_append(x_498, x_497);
lean_dec(x_497);
x_500 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_501 = lean_string_append(x_499, x_500);
lean_ctor_set_tag(x_419, 0);
lean_ctor_set(x_419, 0, x_501);
return x_419;
}
}
}
block_459:
{
lean_object* x_431; 
x_431 = lean_ctor_get(x_5, 8);
lean_inc(x_431);
lean_dec(x_5);
if (lean_obj_tag(x_431) == 0)
{
lean_object* x_432; lean_object* x_433; lean_object* x_434; 
lean_dec(x_3);
x_432 = lean_box(0);
x_433 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_433, 0, x_13);
lean_ctor_set(x_433, 1, x_15);
lean_ctor_set(x_433, 2, x_16);
lean_ctor_set(x_433, 3, x_17);
lean_ctor_set(x_433, 4, x_18);
lean_ctor_set(x_433, 5, x_414);
lean_ctor_set(x_433, 6, x_336);
lean_ctor_set(x_433, 7, x_430);
lean_ctor_set(x_433, 8, x_432);
if (lean_is_scalar(x_429)) {
 x_434 = lean_alloc_ctor(1, 1, 0);
} else {
 x_434 = x_429;
}
lean_ctor_set(x_434, 0, x_433);
return x_434;
}
else
{
uint8_t x_435; 
x_435 = !lean_is_exclusive(x_431);
if (x_435 == 0)
{
lean_object* x_436; lean_object* x_437; lean_object* x_438; 
x_436 = lean_ctor_get(x_431, 0);
if (lean_is_scalar(x_429)) {
 x_437 = lean_alloc_ctor(1, 1, 0);
} else {
 x_437 = x_429;
}
lean_ctor_set(x_437, 0, x_436);
x_438 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_WidgetInstance_instRpcEncodableWidgetInstance_dec____x40_Lean_Widget_Types___hyg_3____spec__2(x_437, x_3);
lean_dec(x_3);
if (lean_obj_tag(x_438) == 0)
{
uint8_t x_439; 
lean_free_object(x_431);
lean_dec(x_430);
lean_dec(x_336);
lean_dec(x_414);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
x_439 = !lean_is_exclusive(x_438);
if (x_439 == 0)
{
return x_438;
}
else
{
lean_object* x_440; lean_object* x_441; 
x_440 = lean_ctor_get(x_438, 0);
lean_inc(x_440);
lean_dec(x_438);
x_441 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_441, 0, x_440);
return x_441;
}
}
else
{
uint8_t x_442; 
x_442 = !lean_is_exclusive(x_438);
if (x_442 == 0)
{
lean_object* x_443; lean_object* x_444; 
x_443 = lean_ctor_get(x_438, 0);
lean_ctor_set(x_431, 0, x_443);
x_444 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_444, 0, x_13);
lean_ctor_set(x_444, 1, x_15);
lean_ctor_set(x_444, 2, x_16);
lean_ctor_set(x_444, 3, x_17);
lean_ctor_set(x_444, 4, x_18);
lean_ctor_set(x_444, 5, x_414);
lean_ctor_set(x_444, 6, x_336);
lean_ctor_set(x_444, 7, x_430);
lean_ctor_set(x_444, 8, x_431);
lean_ctor_set(x_438, 0, x_444);
return x_438;
}
else
{
lean_object* x_445; lean_object* x_446; lean_object* x_447; 
x_445 = lean_ctor_get(x_438, 0);
lean_inc(x_445);
lean_dec(x_438);
lean_ctor_set(x_431, 0, x_445);
x_446 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_446, 0, x_13);
lean_ctor_set(x_446, 1, x_15);
lean_ctor_set(x_446, 2, x_16);
lean_ctor_set(x_446, 3, x_17);
lean_ctor_set(x_446, 4, x_18);
lean_ctor_set(x_446, 5, x_414);
lean_ctor_set(x_446, 6, x_336);
lean_ctor_set(x_446, 7, x_430);
lean_ctor_set(x_446, 8, x_431);
x_447 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_447, 0, x_446);
return x_447;
}
}
}
else
{
lean_object* x_448; lean_object* x_449; lean_object* x_450; 
x_448 = lean_ctor_get(x_431, 0);
lean_inc(x_448);
lean_dec(x_431);
if (lean_is_scalar(x_429)) {
 x_449 = lean_alloc_ctor(1, 1, 0);
} else {
 x_449 = x_429;
}
lean_ctor_set(x_449, 0, x_448);
x_450 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_WidgetInstance_instRpcEncodableWidgetInstance_dec____x40_Lean_Widget_Types___hyg_3____spec__2(x_449, x_3);
lean_dec(x_3);
if (lean_obj_tag(x_450) == 0)
{
lean_object* x_451; lean_object* x_452; lean_object* x_453; 
lean_dec(x_430);
lean_dec(x_336);
lean_dec(x_414);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
x_451 = lean_ctor_get(x_450, 0);
lean_inc(x_451);
if (lean_is_exclusive(x_450)) {
 lean_ctor_release(x_450, 0);
 x_452 = x_450;
} else {
 lean_dec_ref(x_450);
 x_452 = lean_box(0);
}
if (lean_is_scalar(x_452)) {
 x_453 = lean_alloc_ctor(0, 1, 0);
} else {
 x_453 = x_452;
}
lean_ctor_set(x_453, 0, x_451);
return x_453;
}
else
{
lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; 
x_454 = lean_ctor_get(x_450, 0);
lean_inc(x_454);
if (lean_is_exclusive(x_450)) {
 lean_ctor_release(x_450, 0);
 x_455 = x_450;
} else {
 lean_dec_ref(x_450);
 x_455 = lean_box(0);
}
x_456 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_456, 0, x_454);
x_457 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_457, 0, x_13);
lean_ctor_set(x_457, 1, x_15);
lean_ctor_set(x_457, 2, x_16);
lean_ctor_set(x_457, 3, x_17);
lean_ctor_set(x_457, 4, x_18);
lean_ctor_set(x_457, 5, x_414);
lean_ctor_set(x_457, 6, x_336);
lean_ctor_set(x_457, 7, x_430);
lean_ctor_set(x_457, 8, x_456);
if (lean_is_scalar(x_455)) {
 x_458 = lean_alloc_ctor(1, 1, 0);
} else {
 x_458 = x_455;
}
lean_ctor_set(x_458, 0, x_457);
return x_458;
}
}
}
}
}
}
else
{
lean_object* x_502; lean_object* x_503; size_t x_504; lean_object* x_505; 
x_502 = lean_ctor_get(x_419, 0);
lean_inc(x_502);
lean_dec(x_419);
x_503 = lean_array_get_size(x_502);
x_504 = lean_usize_of_nat(x_503);
lean_dec(x_503);
x_505 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__4(x_504, x_418, x_502, x_3);
if (lean_obj_tag(x_505) == 0)
{
lean_object* x_506; lean_object* x_507; lean_object* x_508; 
lean_dec(x_414);
lean_free_object(x_336);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_506 = lean_ctor_get(x_505, 0);
lean_inc(x_506);
if (lean_is_exclusive(x_505)) {
 lean_ctor_release(x_505, 0);
 x_507 = x_505;
} else {
 lean_dec_ref(x_505);
 x_507 = lean_box(0);
}
if (lean_is_scalar(x_507)) {
 x_508 = lean_alloc_ctor(0, 1, 0);
} else {
 x_508 = x_507;
}
lean_ctor_set(x_508, 0, x_506);
return x_508;
}
else
{
lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_529; 
x_509 = lean_ctor_get(x_505, 0);
lean_inc(x_509);
if (lean_is_exclusive(x_505)) {
 lean_ctor_release(x_505, 0);
 x_510 = x_505;
} else {
 lean_dec_ref(x_505);
 x_510 = lean_box(0);
}
lean_ctor_set(x_336, 0, x_509);
x_529 = lean_ctor_get(x_5, 7);
lean_inc(x_529);
if (lean_obj_tag(x_529) == 0)
{
lean_object* x_530; 
x_530 = lean_box(0);
x_511 = x_530;
goto block_528;
}
else
{
lean_object* x_531; lean_object* x_532; 
x_531 = lean_ctor_get(x_529, 0);
lean_inc(x_531);
if (lean_is_exclusive(x_529)) {
 lean_ctor_release(x_529, 0);
 x_532 = x_529;
} else {
 lean_dec_ref(x_529);
 x_532 = lean_box(0);
}
if (lean_obj_tag(x_531) == 4)
{
lean_object* x_533; lean_object* x_534; size_t x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; size_t x_539; lean_object* x_540; 
x_533 = lean_ctor_get(x_531, 0);
lean_inc(x_533);
lean_dec(x_531);
x_534 = lean_array_get_size(x_533);
x_535 = lean_usize_of_nat(x_534);
lean_dec(x_534);
x_536 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1661____spec__2(x_535, x_418, x_533);
x_537 = lean_ctor_get(x_536, 0);
lean_inc(x_537);
lean_dec(x_536);
x_538 = lean_array_get_size(x_537);
x_539 = lean_usize_of_nat(x_538);
lean_dec(x_538);
x_540 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2(x_539, x_418, x_537, x_3);
if (lean_obj_tag(x_540) == 0)
{
lean_object* x_541; lean_object* x_542; lean_object* x_543; 
lean_dec(x_532);
lean_dec(x_336);
lean_dec(x_510);
lean_dec(x_414);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_541 = lean_ctor_get(x_540, 0);
lean_inc(x_541);
if (lean_is_exclusive(x_540)) {
 lean_ctor_release(x_540, 0);
 x_542 = x_540;
} else {
 lean_dec_ref(x_540);
 x_542 = lean_box(0);
}
if (lean_is_scalar(x_542)) {
 x_543 = lean_alloc_ctor(0, 1, 0);
} else {
 x_543 = x_542;
}
lean_ctor_set(x_543, 0, x_541);
return x_543;
}
else
{
lean_object* x_544; lean_object* x_545; 
x_544 = lean_ctor_get(x_540, 0);
lean_inc(x_544);
lean_dec(x_540);
if (lean_is_scalar(x_532)) {
 x_545 = lean_alloc_ctor(1, 1, 0);
} else {
 x_545 = x_532;
}
lean_ctor_set(x_545, 0, x_544);
x_511 = x_545;
goto block_528;
}
}
else
{
lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; 
lean_dec(x_532);
lean_dec(x_336);
lean_dec(x_510);
lean_dec(x_414);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_546 = lean_unsigned_to_nat(80u);
x_547 = l_Lean_Json_pretty(x_531, x_546);
x_548 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_549 = lean_string_append(x_548, x_547);
lean_dec(x_547);
x_550 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_551 = lean_string_append(x_549, x_550);
x_552 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_552, 0, x_551);
return x_552;
}
}
block_528:
{
lean_object* x_512; 
x_512 = lean_ctor_get(x_5, 8);
lean_inc(x_512);
lean_dec(x_5);
if (lean_obj_tag(x_512) == 0)
{
lean_object* x_513; lean_object* x_514; lean_object* x_515; 
lean_dec(x_3);
x_513 = lean_box(0);
x_514 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_514, 0, x_13);
lean_ctor_set(x_514, 1, x_15);
lean_ctor_set(x_514, 2, x_16);
lean_ctor_set(x_514, 3, x_17);
lean_ctor_set(x_514, 4, x_18);
lean_ctor_set(x_514, 5, x_414);
lean_ctor_set(x_514, 6, x_336);
lean_ctor_set(x_514, 7, x_511);
lean_ctor_set(x_514, 8, x_513);
if (lean_is_scalar(x_510)) {
 x_515 = lean_alloc_ctor(1, 1, 0);
} else {
 x_515 = x_510;
}
lean_ctor_set(x_515, 0, x_514);
return x_515;
}
else
{
lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; 
x_516 = lean_ctor_get(x_512, 0);
lean_inc(x_516);
if (lean_is_exclusive(x_512)) {
 lean_ctor_release(x_512, 0);
 x_517 = x_512;
} else {
 lean_dec_ref(x_512);
 x_517 = lean_box(0);
}
if (lean_is_scalar(x_510)) {
 x_518 = lean_alloc_ctor(1, 1, 0);
} else {
 x_518 = x_510;
}
lean_ctor_set(x_518, 0, x_516);
x_519 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_WidgetInstance_instRpcEncodableWidgetInstance_dec____x40_Lean_Widget_Types___hyg_3____spec__2(x_518, x_3);
lean_dec(x_3);
if (lean_obj_tag(x_519) == 0)
{
lean_object* x_520; lean_object* x_521; lean_object* x_522; 
lean_dec(x_517);
lean_dec(x_511);
lean_dec(x_336);
lean_dec(x_414);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
x_520 = lean_ctor_get(x_519, 0);
lean_inc(x_520);
if (lean_is_exclusive(x_519)) {
 lean_ctor_release(x_519, 0);
 x_521 = x_519;
} else {
 lean_dec_ref(x_519);
 x_521 = lean_box(0);
}
if (lean_is_scalar(x_521)) {
 x_522 = lean_alloc_ctor(0, 1, 0);
} else {
 x_522 = x_521;
}
lean_ctor_set(x_522, 0, x_520);
return x_522;
}
else
{
lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; 
x_523 = lean_ctor_get(x_519, 0);
lean_inc(x_523);
if (lean_is_exclusive(x_519)) {
 lean_ctor_release(x_519, 0);
 x_524 = x_519;
} else {
 lean_dec_ref(x_519);
 x_524 = lean_box(0);
}
if (lean_is_scalar(x_517)) {
 x_525 = lean_alloc_ctor(1, 1, 0);
} else {
 x_525 = x_517;
}
lean_ctor_set(x_525, 0, x_523);
x_526 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_526, 0, x_13);
lean_ctor_set(x_526, 1, x_15);
lean_ctor_set(x_526, 2, x_16);
lean_ctor_set(x_526, 3, x_17);
lean_ctor_set(x_526, 4, x_18);
lean_ctor_set(x_526, 5, x_414);
lean_ctor_set(x_526, 6, x_336);
lean_ctor_set(x_526, 7, x_511);
lean_ctor_set(x_526, 8, x_525);
if (lean_is_scalar(x_524)) {
 x_527 = lean_alloc_ctor(1, 1, 0);
} else {
 x_527 = x_524;
}
lean_ctor_set(x_527, 0, x_526);
return x_527;
}
}
}
}
}
}
else
{
uint8_t x_553; 
lean_free_object(x_336);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_553 = !lean_is_exclusive(x_332);
if (x_553 == 0)
{
lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; 
x_554 = lean_ctor_get(x_332, 0);
lean_dec(x_554);
x_555 = lean_unsigned_to_nat(80u);
x_556 = l_Lean_Json_pretty(x_413, x_555);
x_557 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_558 = lean_string_append(x_557, x_556);
lean_dec(x_556);
x_559 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_560 = lean_string_append(x_558, x_559);
lean_ctor_set_tag(x_332, 0);
lean_ctor_set(x_332, 0, x_560);
return x_332;
}
else
{
lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; 
lean_dec(x_332);
x_561 = lean_unsigned_to_nat(80u);
x_562 = l_Lean_Json_pretty(x_413, x_561);
x_563 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_564 = lean_string_append(x_563, x_562);
lean_dec(x_562);
x_565 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_566 = lean_string_append(x_564, x_565);
x_567 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_567, 0, x_566);
return x_567;
}
}
}
else
{
lean_object* x_568; 
x_568 = lean_ctor_get(x_336, 0);
lean_inc(x_568);
lean_dec(x_336);
if (lean_obj_tag(x_568) == 4)
{
lean_object* x_569; lean_object* x_570; lean_object* x_571; size_t x_572; size_t x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; size_t x_578; lean_object* x_579; 
x_569 = lean_ctor_get(x_332, 0);
lean_inc(x_569);
lean_dec(x_332);
x_570 = lean_ctor_get(x_568, 0);
lean_inc(x_570);
lean_dec(x_568);
x_571 = lean_array_get_size(x_570);
x_572 = lean_usize_of_nat(x_571);
lean_dec(x_571);
x_573 = 0;
x_574 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1661____spec__2(x_572, x_573, x_570);
x_575 = lean_ctor_get(x_574, 0);
lean_inc(x_575);
if (lean_is_exclusive(x_574)) {
 lean_ctor_release(x_574, 0);
 x_576 = x_574;
} else {
 lean_dec_ref(x_574);
 x_576 = lean_box(0);
}
x_577 = lean_array_get_size(x_575);
x_578 = lean_usize_of_nat(x_577);
lean_dec(x_577);
x_579 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__4(x_578, x_573, x_575, x_3);
if (lean_obj_tag(x_579) == 0)
{
lean_object* x_580; lean_object* x_581; lean_object* x_582; 
lean_dec(x_576);
lean_dec(x_569);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_580 = lean_ctor_get(x_579, 0);
lean_inc(x_580);
if (lean_is_exclusive(x_579)) {
 lean_ctor_release(x_579, 0);
 x_581 = x_579;
} else {
 lean_dec_ref(x_579);
 x_581 = lean_box(0);
}
if (lean_is_scalar(x_581)) {
 x_582 = lean_alloc_ctor(0, 1, 0);
} else {
 x_582 = x_581;
}
lean_ctor_set(x_582, 0, x_580);
return x_582;
}
else
{
lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_604; 
x_583 = lean_ctor_get(x_579, 0);
lean_inc(x_583);
if (lean_is_exclusive(x_579)) {
 lean_ctor_release(x_579, 0);
 x_584 = x_579;
} else {
 lean_dec_ref(x_579);
 x_584 = lean_box(0);
}
x_585 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_585, 0, x_583);
x_604 = lean_ctor_get(x_5, 7);
lean_inc(x_604);
if (lean_obj_tag(x_604) == 0)
{
lean_object* x_605; 
lean_dec(x_576);
x_605 = lean_box(0);
x_586 = x_605;
goto block_603;
}
else
{
lean_object* x_606; lean_object* x_607; 
x_606 = lean_ctor_get(x_604, 0);
lean_inc(x_606);
if (lean_is_exclusive(x_604)) {
 lean_ctor_release(x_604, 0);
 x_607 = x_604;
} else {
 lean_dec_ref(x_604);
 x_607 = lean_box(0);
}
if (lean_obj_tag(x_606) == 4)
{
lean_object* x_608; lean_object* x_609; size_t x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; size_t x_614; lean_object* x_615; 
lean_dec(x_576);
x_608 = lean_ctor_get(x_606, 0);
lean_inc(x_608);
lean_dec(x_606);
x_609 = lean_array_get_size(x_608);
x_610 = lean_usize_of_nat(x_609);
lean_dec(x_609);
x_611 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1661____spec__2(x_610, x_573, x_608);
x_612 = lean_ctor_get(x_611, 0);
lean_inc(x_612);
lean_dec(x_611);
x_613 = lean_array_get_size(x_612);
x_614 = lean_usize_of_nat(x_613);
lean_dec(x_613);
x_615 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2(x_614, x_573, x_612, x_3);
if (lean_obj_tag(x_615) == 0)
{
lean_object* x_616; lean_object* x_617; lean_object* x_618; 
lean_dec(x_607);
lean_dec(x_585);
lean_dec(x_584);
lean_dec(x_569);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_616 = lean_ctor_get(x_615, 0);
lean_inc(x_616);
if (lean_is_exclusive(x_615)) {
 lean_ctor_release(x_615, 0);
 x_617 = x_615;
} else {
 lean_dec_ref(x_615);
 x_617 = lean_box(0);
}
if (lean_is_scalar(x_617)) {
 x_618 = lean_alloc_ctor(0, 1, 0);
} else {
 x_618 = x_617;
}
lean_ctor_set(x_618, 0, x_616);
return x_618;
}
else
{
lean_object* x_619; lean_object* x_620; 
x_619 = lean_ctor_get(x_615, 0);
lean_inc(x_619);
lean_dec(x_615);
if (lean_is_scalar(x_607)) {
 x_620 = lean_alloc_ctor(1, 1, 0);
} else {
 x_620 = x_607;
}
lean_ctor_set(x_620, 0, x_619);
x_586 = x_620;
goto block_603;
}
}
else
{
lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; 
lean_dec(x_607);
lean_dec(x_585);
lean_dec(x_584);
lean_dec(x_569);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_621 = lean_unsigned_to_nat(80u);
x_622 = l_Lean_Json_pretty(x_606, x_621);
x_623 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_624 = lean_string_append(x_623, x_622);
lean_dec(x_622);
x_625 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_626 = lean_string_append(x_624, x_625);
if (lean_is_scalar(x_576)) {
 x_627 = lean_alloc_ctor(0, 1, 0);
} else {
 x_627 = x_576;
 lean_ctor_set_tag(x_627, 0);
}
lean_ctor_set(x_627, 0, x_626);
return x_627;
}
}
block_603:
{
lean_object* x_587; 
x_587 = lean_ctor_get(x_5, 8);
lean_inc(x_587);
lean_dec(x_5);
if (lean_obj_tag(x_587) == 0)
{
lean_object* x_588; lean_object* x_589; lean_object* x_590; 
lean_dec(x_3);
x_588 = lean_box(0);
x_589 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_589, 0, x_13);
lean_ctor_set(x_589, 1, x_15);
lean_ctor_set(x_589, 2, x_16);
lean_ctor_set(x_589, 3, x_17);
lean_ctor_set(x_589, 4, x_18);
lean_ctor_set(x_589, 5, x_569);
lean_ctor_set(x_589, 6, x_585);
lean_ctor_set(x_589, 7, x_586);
lean_ctor_set(x_589, 8, x_588);
if (lean_is_scalar(x_584)) {
 x_590 = lean_alloc_ctor(1, 1, 0);
} else {
 x_590 = x_584;
}
lean_ctor_set(x_590, 0, x_589);
return x_590;
}
else
{
lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; 
x_591 = lean_ctor_get(x_587, 0);
lean_inc(x_591);
if (lean_is_exclusive(x_587)) {
 lean_ctor_release(x_587, 0);
 x_592 = x_587;
} else {
 lean_dec_ref(x_587);
 x_592 = lean_box(0);
}
if (lean_is_scalar(x_584)) {
 x_593 = lean_alloc_ctor(1, 1, 0);
} else {
 x_593 = x_584;
}
lean_ctor_set(x_593, 0, x_591);
x_594 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_WidgetInstance_instRpcEncodableWidgetInstance_dec____x40_Lean_Widget_Types___hyg_3____spec__2(x_593, x_3);
lean_dec(x_3);
if (lean_obj_tag(x_594) == 0)
{
lean_object* x_595; lean_object* x_596; lean_object* x_597; 
lean_dec(x_592);
lean_dec(x_586);
lean_dec(x_585);
lean_dec(x_569);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
x_595 = lean_ctor_get(x_594, 0);
lean_inc(x_595);
if (lean_is_exclusive(x_594)) {
 lean_ctor_release(x_594, 0);
 x_596 = x_594;
} else {
 lean_dec_ref(x_594);
 x_596 = lean_box(0);
}
if (lean_is_scalar(x_596)) {
 x_597 = lean_alloc_ctor(0, 1, 0);
} else {
 x_597 = x_596;
}
lean_ctor_set(x_597, 0, x_595);
return x_597;
}
else
{
lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; 
x_598 = lean_ctor_get(x_594, 0);
lean_inc(x_598);
if (lean_is_exclusive(x_594)) {
 lean_ctor_release(x_594, 0);
 x_599 = x_594;
} else {
 lean_dec_ref(x_594);
 x_599 = lean_box(0);
}
if (lean_is_scalar(x_592)) {
 x_600 = lean_alloc_ctor(1, 1, 0);
} else {
 x_600 = x_592;
}
lean_ctor_set(x_600, 0, x_598);
x_601 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_601, 0, x_13);
lean_ctor_set(x_601, 1, x_15);
lean_ctor_set(x_601, 2, x_16);
lean_ctor_set(x_601, 3, x_17);
lean_ctor_set(x_601, 4, x_18);
lean_ctor_set(x_601, 5, x_569);
lean_ctor_set(x_601, 6, x_585);
lean_ctor_set(x_601, 7, x_586);
lean_ctor_set(x_601, 8, x_600);
if (lean_is_scalar(x_599)) {
 x_602 = lean_alloc_ctor(1, 1, 0);
} else {
 x_602 = x_599;
}
lean_ctor_set(x_602, 0, x_601);
return x_602;
}
}
}
}
}
else
{
lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; 
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
if (lean_is_exclusive(x_332)) {
 lean_ctor_release(x_332, 0);
 x_628 = x_332;
} else {
 lean_dec_ref(x_332);
 x_628 = lean_box(0);
}
x_629 = lean_unsigned_to_nat(80u);
x_630 = l_Lean_Json_pretty(x_568, x_629);
x_631 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_632 = lean_string_append(x_631, x_630);
lean_dec(x_630);
x_633 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_634 = lean_string_append(x_632, x_633);
if (lean_is_scalar(x_628)) {
 x_635 = lean_alloc_ctor(0, 1, 0);
} else {
 x_635 = x_628;
 lean_ctor_set_tag(x_635, 0);
}
lean_ctor_set(x_635, 0, x_634);
return x_635;
}
}
}
}
}
else
{
lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; 
x_636 = lean_ctor_get(x_324, 0);
lean_inc(x_636);
lean_dec(x_324);
lean_ctor_set(x_18, 0, x_636);
x_637 = lean_ctor_get(x_1, 1);
lean_inc(x_637);
lean_dec(x_1);
x_638 = lean_ctor_get(x_5, 5);
lean_inc(x_638);
lean_inc(x_3);
x_639 = lean_apply_2(x_637, x_638, x_3);
if (lean_obj_tag(x_639) == 0)
{
lean_object* x_640; lean_object* x_641; lean_object* x_642; 
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_640 = lean_ctor_get(x_639, 0);
lean_inc(x_640);
if (lean_is_exclusive(x_639)) {
 lean_ctor_release(x_639, 0);
 x_641 = x_639;
} else {
 lean_dec_ref(x_639);
 x_641 = lean_box(0);
}
if (lean_is_scalar(x_641)) {
 x_642 = lean_alloc_ctor(0, 1, 0);
} else {
 x_642 = x_641;
}
lean_ctor_set(x_642, 0, x_640);
return x_642;
}
else
{
lean_object* x_643; 
x_643 = lean_ctor_get(x_5, 6);
lean_inc(x_643);
if (lean_obj_tag(x_643) == 0)
{
lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_664; 
x_644 = lean_ctor_get(x_639, 0);
lean_inc(x_644);
if (lean_is_exclusive(x_639)) {
 lean_ctor_release(x_639, 0);
 x_645 = x_639;
} else {
 lean_dec_ref(x_639);
 x_645 = lean_box(0);
}
x_646 = lean_box(0);
x_664 = lean_ctor_get(x_5, 7);
lean_inc(x_664);
if (lean_obj_tag(x_664) == 0)
{
x_647 = x_646;
goto block_663;
}
else
{
lean_object* x_665; lean_object* x_666; 
x_665 = lean_ctor_get(x_664, 0);
lean_inc(x_665);
if (lean_is_exclusive(x_664)) {
 lean_ctor_release(x_664, 0);
 x_666 = x_664;
} else {
 lean_dec_ref(x_664);
 x_666 = lean_box(0);
}
if (lean_obj_tag(x_665) == 4)
{
lean_object* x_667; lean_object* x_668; size_t x_669; size_t x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; size_t x_674; lean_object* x_675; 
x_667 = lean_ctor_get(x_665, 0);
lean_inc(x_667);
lean_dec(x_665);
x_668 = lean_array_get_size(x_667);
x_669 = lean_usize_of_nat(x_668);
lean_dec(x_668);
x_670 = 0;
x_671 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1661____spec__2(x_669, x_670, x_667);
x_672 = lean_ctor_get(x_671, 0);
lean_inc(x_672);
lean_dec(x_671);
x_673 = lean_array_get_size(x_672);
x_674 = lean_usize_of_nat(x_673);
lean_dec(x_673);
x_675 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2(x_674, x_670, x_672, x_3);
if (lean_obj_tag(x_675) == 0)
{
lean_object* x_676; lean_object* x_677; lean_object* x_678; 
lean_dec(x_666);
lean_dec(x_645);
lean_dec(x_644);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_676 = lean_ctor_get(x_675, 0);
lean_inc(x_676);
if (lean_is_exclusive(x_675)) {
 lean_ctor_release(x_675, 0);
 x_677 = x_675;
} else {
 lean_dec_ref(x_675);
 x_677 = lean_box(0);
}
if (lean_is_scalar(x_677)) {
 x_678 = lean_alloc_ctor(0, 1, 0);
} else {
 x_678 = x_677;
}
lean_ctor_set(x_678, 0, x_676);
return x_678;
}
else
{
lean_object* x_679; lean_object* x_680; 
x_679 = lean_ctor_get(x_675, 0);
lean_inc(x_679);
lean_dec(x_675);
if (lean_is_scalar(x_666)) {
 x_680 = lean_alloc_ctor(1, 1, 0);
} else {
 x_680 = x_666;
}
lean_ctor_set(x_680, 0, x_679);
x_647 = x_680;
goto block_663;
}
}
else
{
lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; 
lean_dec(x_666);
lean_dec(x_645);
lean_dec(x_644);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_681 = lean_unsigned_to_nat(80u);
x_682 = l_Lean_Json_pretty(x_665, x_681);
x_683 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_684 = lean_string_append(x_683, x_682);
lean_dec(x_682);
x_685 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_686 = lean_string_append(x_684, x_685);
x_687 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_687, 0, x_686);
return x_687;
}
}
block_663:
{
lean_object* x_648; 
x_648 = lean_ctor_get(x_5, 8);
lean_inc(x_648);
lean_dec(x_5);
if (lean_obj_tag(x_648) == 0)
{
lean_object* x_649; lean_object* x_650; 
lean_dec(x_3);
x_649 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_649, 0, x_13);
lean_ctor_set(x_649, 1, x_15);
lean_ctor_set(x_649, 2, x_16);
lean_ctor_set(x_649, 3, x_17);
lean_ctor_set(x_649, 4, x_18);
lean_ctor_set(x_649, 5, x_644);
lean_ctor_set(x_649, 6, x_646);
lean_ctor_set(x_649, 7, x_647);
lean_ctor_set(x_649, 8, x_646);
if (lean_is_scalar(x_645)) {
 x_650 = lean_alloc_ctor(1, 1, 0);
} else {
 x_650 = x_645;
}
lean_ctor_set(x_650, 0, x_649);
return x_650;
}
else
{
lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; 
x_651 = lean_ctor_get(x_648, 0);
lean_inc(x_651);
if (lean_is_exclusive(x_648)) {
 lean_ctor_release(x_648, 0);
 x_652 = x_648;
} else {
 lean_dec_ref(x_648);
 x_652 = lean_box(0);
}
if (lean_is_scalar(x_645)) {
 x_653 = lean_alloc_ctor(1, 1, 0);
} else {
 x_653 = x_645;
}
lean_ctor_set(x_653, 0, x_651);
x_654 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_WidgetInstance_instRpcEncodableWidgetInstance_dec____x40_Lean_Widget_Types___hyg_3____spec__2(x_653, x_3);
lean_dec(x_3);
if (lean_obj_tag(x_654) == 0)
{
lean_object* x_655; lean_object* x_656; lean_object* x_657; 
lean_dec(x_652);
lean_dec(x_647);
lean_dec(x_644);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
x_655 = lean_ctor_get(x_654, 0);
lean_inc(x_655);
if (lean_is_exclusive(x_654)) {
 lean_ctor_release(x_654, 0);
 x_656 = x_654;
} else {
 lean_dec_ref(x_654);
 x_656 = lean_box(0);
}
if (lean_is_scalar(x_656)) {
 x_657 = lean_alloc_ctor(0, 1, 0);
} else {
 x_657 = x_656;
}
lean_ctor_set(x_657, 0, x_655);
return x_657;
}
else
{
lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; 
x_658 = lean_ctor_get(x_654, 0);
lean_inc(x_658);
if (lean_is_exclusive(x_654)) {
 lean_ctor_release(x_654, 0);
 x_659 = x_654;
} else {
 lean_dec_ref(x_654);
 x_659 = lean_box(0);
}
if (lean_is_scalar(x_652)) {
 x_660 = lean_alloc_ctor(1, 1, 0);
} else {
 x_660 = x_652;
}
lean_ctor_set(x_660, 0, x_658);
x_661 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_661, 0, x_13);
lean_ctor_set(x_661, 1, x_15);
lean_ctor_set(x_661, 2, x_16);
lean_ctor_set(x_661, 3, x_17);
lean_ctor_set(x_661, 4, x_18);
lean_ctor_set(x_661, 5, x_644);
lean_ctor_set(x_661, 6, x_646);
lean_ctor_set(x_661, 7, x_647);
lean_ctor_set(x_661, 8, x_660);
if (lean_is_scalar(x_659)) {
 x_662 = lean_alloc_ctor(1, 1, 0);
} else {
 x_662 = x_659;
}
lean_ctor_set(x_662, 0, x_661);
return x_662;
}
}
}
}
else
{
lean_object* x_688; lean_object* x_689; 
x_688 = lean_ctor_get(x_643, 0);
lean_inc(x_688);
if (lean_is_exclusive(x_643)) {
 lean_ctor_release(x_643, 0);
 x_689 = x_643;
} else {
 lean_dec_ref(x_643);
 x_689 = lean_box(0);
}
if (lean_obj_tag(x_688) == 4)
{
lean_object* x_690; lean_object* x_691; lean_object* x_692; size_t x_693; size_t x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; size_t x_699; lean_object* x_700; 
x_690 = lean_ctor_get(x_639, 0);
lean_inc(x_690);
lean_dec(x_639);
x_691 = lean_ctor_get(x_688, 0);
lean_inc(x_691);
lean_dec(x_688);
x_692 = lean_array_get_size(x_691);
x_693 = lean_usize_of_nat(x_692);
lean_dec(x_692);
x_694 = 0;
x_695 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1661____spec__2(x_693, x_694, x_691);
x_696 = lean_ctor_get(x_695, 0);
lean_inc(x_696);
if (lean_is_exclusive(x_695)) {
 lean_ctor_release(x_695, 0);
 x_697 = x_695;
} else {
 lean_dec_ref(x_695);
 x_697 = lean_box(0);
}
x_698 = lean_array_get_size(x_696);
x_699 = lean_usize_of_nat(x_698);
lean_dec(x_698);
x_700 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__4(x_699, x_694, x_696, x_3);
if (lean_obj_tag(x_700) == 0)
{
lean_object* x_701; lean_object* x_702; lean_object* x_703; 
lean_dec(x_697);
lean_dec(x_690);
lean_dec(x_689);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_701 = lean_ctor_get(x_700, 0);
lean_inc(x_701);
if (lean_is_exclusive(x_700)) {
 lean_ctor_release(x_700, 0);
 x_702 = x_700;
} else {
 lean_dec_ref(x_700);
 x_702 = lean_box(0);
}
if (lean_is_scalar(x_702)) {
 x_703 = lean_alloc_ctor(0, 1, 0);
} else {
 x_703 = x_702;
}
lean_ctor_set(x_703, 0, x_701);
return x_703;
}
else
{
lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_725; 
x_704 = lean_ctor_get(x_700, 0);
lean_inc(x_704);
if (lean_is_exclusive(x_700)) {
 lean_ctor_release(x_700, 0);
 x_705 = x_700;
} else {
 lean_dec_ref(x_700);
 x_705 = lean_box(0);
}
if (lean_is_scalar(x_689)) {
 x_706 = lean_alloc_ctor(1, 1, 0);
} else {
 x_706 = x_689;
}
lean_ctor_set(x_706, 0, x_704);
x_725 = lean_ctor_get(x_5, 7);
lean_inc(x_725);
if (lean_obj_tag(x_725) == 0)
{
lean_object* x_726; 
lean_dec(x_697);
x_726 = lean_box(0);
x_707 = x_726;
goto block_724;
}
else
{
lean_object* x_727; lean_object* x_728; 
x_727 = lean_ctor_get(x_725, 0);
lean_inc(x_727);
if (lean_is_exclusive(x_725)) {
 lean_ctor_release(x_725, 0);
 x_728 = x_725;
} else {
 lean_dec_ref(x_725);
 x_728 = lean_box(0);
}
if (lean_obj_tag(x_727) == 4)
{
lean_object* x_729; lean_object* x_730; size_t x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; size_t x_735; lean_object* x_736; 
lean_dec(x_697);
x_729 = lean_ctor_get(x_727, 0);
lean_inc(x_729);
lean_dec(x_727);
x_730 = lean_array_get_size(x_729);
x_731 = lean_usize_of_nat(x_730);
lean_dec(x_730);
x_732 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1661____spec__2(x_731, x_694, x_729);
x_733 = lean_ctor_get(x_732, 0);
lean_inc(x_733);
lean_dec(x_732);
x_734 = lean_array_get_size(x_733);
x_735 = lean_usize_of_nat(x_734);
lean_dec(x_734);
x_736 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2(x_735, x_694, x_733, x_3);
if (lean_obj_tag(x_736) == 0)
{
lean_object* x_737; lean_object* x_738; lean_object* x_739; 
lean_dec(x_728);
lean_dec(x_706);
lean_dec(x_705);
lean_dec(x_690);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_737 = lean_ctor_get(x_736, 0);
lean_inc(x_737);
if (lean_is_exclusive(x_736)) {
 lean_ctor_release(x_736, 0);
 x_738 = x_736;
} else {
 lean_dec_ref(x_736);
 x_738 = lean_box(0);
}
if (lean_is_scalar(x_738)) {
 x_739 = lean_alloc_ctor(0, 1, 0);
} else {
 x_739 = x_738;
}
lean_ctor_set(x_739, 0, x_737);
return x_739;
}
else
{
lean_object* x_740; lean_object* x_741; 
x_740 = lean_ctor_get(x_736, 0);
lean_inc(x_740);
lean_dec(x_736);
if (lean_is_scalar(x_728)) {
 x_741 = lean_alloc_ctor(1, 1, 0);
} else {
 x_741 = x_728;
}
lean_ctor_set(x_741, 0, x_740);
x_707 = x_741;
goto block_724;
}
}
else
{
lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; 
lean_dec(x_728);
lean_dec(x_706);
lean_dec(x_705);
lean_dec(x_690);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_742 = lean_unsigned_to_nat(80u);
x_743 = l_Lean_Json_pretty(x_727, x_742);
x_744 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_745 = lean_string_append(x_744, x_743);
lean_dec(x_743);
x_746 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_747 = lean_string_append(x_745, x_746);
if (lean_is_scalar(x_697)) {
 x_748 = lean_alloc_ctor(0, 1, 0);
} else {
 x_748 = x_697;
 lean_ctor_set_tag(x_748, 0);
}
lean_ctor_set(x_748, 0, x_747);
return x_748;
}
}
block_724:
{
lean_object* x_708; 
x_708 = lean_ctor_get(x_5, 8);
lean_inc(x_708);
lean_dec(x_5);
if (lean_obj_tag(x_708) == 0)
{
lean_object* x_709; lean_object* x_710; lean_object* x_711; 
lean_dec(x_3);
x_709 = lean_box(0);
x_710 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_710, 0, x_13);
lean_ctor_set(x_710, 1, x_15);
lean_ctor_set(x_710, 2, x_16);
lean_ctor_set(x_710, 3, x_17);
lean_ctor_set(x_710, 4, x_18);
lean_ctor_set(x_710, 5, x_690);
lean_ctor_set(x_710, 6, x_706);
lean_ctor_set(x_710, 7, x_707);
lean_ctor_set(x_710, 8, x_709);
if (lean_is_scalar(x_705)) {
 x_711 = lean_alloc_ctor(1, 1, 0);
} else {
 x_711 = x_705;
}
lean_ctor_set(x_711, 0, x_710);
return x_711;
}
else
{
lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; 
x_712 = lean_ctor_get(x_708, 0);
lean_inc(x_712);
if (lean_is_exclusive(x_708)) {
 lean_ctor_release(x_708, 0);
 x_713 = x_708;
} else {
 lean_dec_ref(x_708);
 x_713 = lean_box(0);
}
if (lean_is_scalar(x_705)) {
 x_714 = lean_alloc_ctor(1, 1, 0);
} else {
 x_714 = x_705;
}
lean_ctor_set(x_714, 0, x_712);
x_715 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_WidgetInstance_instRpcEncodableWidgetInstance_dec____x40_Lean_Widget_Types___hyg_3____spec__2(x_714, x_3);
lean_dec(x_3);
if (lean_obj_tag(x_715) == 0)
{
lean_object* x_716; lean_object* x_717; lean_object* x_718; 
lean_dec(x_713);
lean_dec(x_707);
lean_dec(x_706);
lean_dec(x_690);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
x_716 = lean_ctor_get(x_715, 0);
lean_inc(x_716);
if (lean_is_exclusive(x_715)) {
 lean_ctor_release(x_715, 0);
 x_717 = x_715;
} else {
 lean_dec_ref(x_715);
 x_717 = lean_box(0);
}
if (lean_is_scalar(x_717)) {
 x_718 = lean_alloc_ctor(0, 1, 0);
} else {
 x_718 = x_717;
}
lean_ctor_set(x_718, 0, x_716);
return x_718;
}
else
{
lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; 
x_719 = lean_ctor_get(x_715, 0);
lean_inc(x_719);
if (lean_is_exclusive(x_715)) {
 lean_ctor_release(x_715, 0);
 x_720 = x_715;
} else {
 lean_dec_ref(x_715);
 x_720 = lean_box(0);
}
if (lean_is_scalar(x_713)) {
 x_721 = lean_alloc_ctor(1, 1, 0);
} else {
 x_721 = x_713;
}
lean_ctor_set(x_721, 0, x_719);
x_722 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_722, 0, x_13);
lean_ctor_set(x_722, 1, x_15);
lean_ctor_set(x_722, 2, x_16);
lean_ctor_set(x_722, 3, x_17);
lean_ctor_set(x_722, 4, x_18);
lean_ctor_set(x_722, 5, x_690);
lean_ctor_set(x_722, 6, x_706);
lean_ctor_set(x_722, 7, x_707);
lean_ctor_set(x_722, 8, x_721);
if (lean_is_scalar(x_720)) {
 x_723 = lean_alloc_ctor(1, 1, 0);
} else {
 x_723 = x_720;
}
lean_ctor_set(x_723, 0, x_722);
return x_723;
}
}
}
}
}
else
{
lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; 
lean_dec(x_689);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
if (lean_is_exclusive(x_639)) {
 lean_ctor_release(x_639, 0);
 x_749 = x_639;
} else {
 lean_dec_ref(x_639);
 x_749 = lean_box(0);
}
x_750 = lean_unsigned_to_nat(80u);
x_751 = l_Lean_Json_pretty(x_688, x_750);
x_752 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_753 = lean_string_append(x_752, x_751);
lean_dec(x_751);
x_754 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_755 = lean_string_append(x_753, x_754);
if (lean_is_scalar(x_749)) {
 x_756 = lean_alloc_ctor(0, 1, 0);
} else {
 x_756 = x_749;
 lean_ctor_set_tag(x_756, 0);
}
lean_ctor_set(x_756, 0, x_755);
return x_756;
}
}
}
}
}
}
else
{
lean_object* x_757; lean_object* x_758; lean_object* x_759; 
x_757 = lean_ctor_get(x_18, 0);
lean_inc(x_757);
lean_dec(x_18);
x_758 = l_Lean_Json_getStr_x3f(x_757);
x_759 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_InteractiveHypothesisBundle_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__1(x_758, x_3);
if (lean_obj_tag(x_759) == 0)
{
lean_object* x_760; lean_object* x_761; lean_object* x_762; 
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
lean_dec(x_1);
x_760 = lean_ctor_get(x_759, 0);
lean_inc(x_760);
if (lean_is_exclusive(x_759)) {
 lean_ctor_release(x_759, 0);
 x_761 = x_759;
} else {
 lean_dec_ref(x_759);
 x_761 = lean_box(0);
}
if (lean_is_scalar(x_761)) {
 x_762 = lean_alloc_ctor(0, 1, 0);
} else {
 x_762 = x_761;
}
lean_ctor_set(x_762, 0, x_760);
return x_762;
}
else
{
lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; 
x_763 = lean_ctor_get(x_759, 0);
lean_inc(x_763);
if (lean_is_exclusive(x_759)) {
 lean_ctor_release(x_759, 0);
 x_764 = x_759;
} else {
 lean_dec_ref(x_759);
 x_764 = lean_box(0);
}
x_765 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_765, 0, x_763);
x_766 = lean_ctor_get(x_1, 1);
lean_inc(x_766);
lean_dec(x_1);
x_767 = lean_ctor_get(x_5, 5);
lean_inc(x_767);
lean_inc(x_3);
x_768 = lean_apply_2(x_766, x_767, x_3);
if (lean_obj_tag(x_768) == 0)
{
lean_object* x_769; lean_object* x_770; lean_object* x_771; 
lean_dec(x_765);
lean_dec(x_764);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_769 = lean_ctor_get(x_768, 0);
lean_inc(x_769);
if (lean_is_exclusive(x_768)) {
 lean_ctor_release(x_768, 0);
 x_770 = x_768;
} else {
 lean_dec_ref(x_768);
 x_770 = lean_box(0);
}
if (lean_is_scalar(x_770)) {
 x_771 = lean_alloc_ctor(0, 1, 0);
} else {
 x_771 = x_770;
}
lean_ctor_set(x_771, 0, x_769);
return x_771;
}
else
{
lean_object* x_772; 
x_772 = lean_ctor_get(x_5, 6);
lean_inc(x_772);
if (lean_obj_tag(x_772) == 0)
{
lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_793; 
x_773 = lean_ctor_get(x_768, 0);
lean_inc(x_773);
if (lean_is_exclusive(x_768)) {
 lean_ctor_release(x_768, 0);
 x_774 = x_768;
} else {
 lean_dec_ref(x_768);
 x_774 = lean_box(0);
}
x_775 = lean_box(0);
x_793 = lean_ctor_get(x_5, 7);
lean_inc(x_793);
if (lean_obj_tag(x_793) == 0)
{
lean_dec(x_764);
x_776 = x_775;
goto block_792;
}
else
{
lean_object* x_794; lean_object* x_795; 
x_794 = lean_ctor_get(x_793, 0);
lean_inc(x_794);
if (lean_is_exclusive(x_793)) {
 lean_ctor_release(x_793, 0);
 x_795 = x_793;
} else {
 lean_dec_ref(x_793);
 x_795 = lean_box(0);
}
if (lean_obj_tag(x_794) == 4)
{
lean_object* x_796; lean_object* x_797; size_t x_798; size_t x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; size_t x_803; lean_object* x_804; 
lean_dec(x_764);
x_796 = lean_ctor_get(x_794, 0);
lean_inc(x_796);
lean_dec(x_794);
x_797 = lean_array_get_size(x_796);
x_798 = lean_usize_of_nat(x_797);
lean_dec(x_797);
x_799 = 0;
x_800 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1661____spec__2(x_798, x_799, x_796);
x_801 = lean_ctor_get(x_800, 0);
lean_inc(x_801);
lean_dec(x_800);
x_802 = lean_array_get_size(x_801);
x_803 = lean_usize_of_nat(x_802);
lean_dec(x_802);
x_804 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2(x_803, x_799, x_801, x_3);
if (lean_obj_tag(x_804) == 0)
{
lean_object* x_805; lean_object* x_806; lean_object* x_807; 
lean_dec(x_795);
lean_dec(x_774);
lean_dec(x_773);
lean_dec(x_765);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_805 = lean_ctor_get(x_804, 0);
lean_inc(x_805);
if (lean_is_exclusive(x_804)) {
 lean_ctor_release(x_804, 0);
 x_806 = x_804;
} else {
 lean_dec_ref(x_804);
 x_806 = lean_box(0);
}
if (lean_is_scalar(x_806)) {
 x_807 = lean_alloc_ctor(0, 1, 0);
} else {
 x_807 = x_806;
}
lean_ctor_set(x_807, 0, x_805);
return x_807;
}
else
{
lean_object* x_808; lean_object* x_809; 
x_808 = lean_ctor_get(x_804, 0);
lean_inc(x_808);
lean_dec(x_804);
if (lean_is_scalar(x_795)) {
 x_809 = lean_alloc_ctor(1, 1, 0);
} else {
 x_809 = x_795;
}
lean_ctor_set(x_809, 0, x_808);
x_776 = x_809;
goto block_792;
}
}
else
{
lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; 
lean_dec(x_795);
lean_dec(x_774);
lean_dec(x_773);
lean_dec(x_765);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_810 = lean_unsigned_to_nat(80u);
x_811 = l_Lean_Json_pretty(x_794, x_810);
x_812 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_813 = lean_string_append(x_812, x_811);
lean_dec(x_811);
x_814 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_815 = lean_string_append(x_813, x_814);
if (lean_is_scalar(x_764)) {
 x_816 = lean_alloc_ctor(0, 1, 0);
} else {
 x_816 = x_764;
 lean_ctor_set_tag(x_816, 0);
}
lean_ctor_set(x_816, 0, x_815);
return x_816;
}
}
block_792:
{
lean_object* x_777; 
x_777 = lean_ctor_get(x_5, 8);
lean_inc(x_777);
lean_dec(x_5);
if (lean_obj_tag(x_777) == 0)
{
lean_object* x_778; lean_object* x_779; 
lean_dec(x_3);
x_778 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_778, 0, x_13);
lean_ctor_set(x_778, 1, x_15);
lean_ctor_set(x_778, 2, x_16);
lean_ctor_set(x_778, 3, x_17);
lean_ctor_set(x_778, 4, x_765);
lean_ctor_set(x_778, 5, x_773);
lean_ctor_set(x_778, 6, x_775);
lean_ctor_set(x_778, 7, x_776);
lean_ctor_set(x_778, 8, x_775);
if (lean_is_scalar(x_774)) {
 x_779 = lean_alloc_ctor(1, 1, 0);
} else {
 x_779 = x_774;
}
lean_ctor_set(x_779, 0, x_778);
return x_779;
}
else
{
lean_object* x_780; lean_object* x_781; lean_object* x_782; lean_object* x_783; 
x_780 = lean_ctor_get(x_777, 0);
lean_inc(x_780);
if (lean_is_exclusive(x_777)) {
 lean_ctor_release(x_777, 0);
 x_781 = x_777;
} else {
 lean_dec_ref(x_777);
 x_781 = lean_box(0);
}
if (lean_is_scalar(x_774)) {
 x_782 = lean_alloc_ctor(1, 1, 0);
} else {
 x_782 = x_774;
}
lean_ctor_set(x_782, 0, x_780);
x_783 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_WidgetInstance_instRpcEncodableWidgetInstance_dec____x40_Lean_Widget_Types___hyg_3____spec__2(x_782, x_3);
lean_dec(x_3);
if (lean_obj_tag(x_783) == 0)
{
lean_object* x_784; lean_object* x_785; lean_object* x_786; 
lean_dec(x_781);
lean_dec(x_776);
lean_dec(x_773);
lean_dec(x_765);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
x_784 = lean_ctor_get(x_783, 0);
lean_inc(x_784);
if (lean_is_exclusive(x_783)) {
 lean_ctor_release(x_783, 0);
 x_785 = x_783;
} else {
 lean_dec_ref(x_783);
 x_785 = lean_box(0);
}
if (lean_is_scalar(x_785)) {
 x_786 = lean_alloc_ctor(0, 1, 0);
} else {
 x_786 = x_785;
}
lean_ctor_set(x_786, 0, x_784);
return x_786;
}
else
{
lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; lean_object* x_791; 
x_787 = lean_ctor_get(x_783, 0);
lean_inc(x_787);
if (lean_is_exclusive(x_783)) {
 lean_ctor_release(x_783, 0);
 x_788 = x_783;
} else {
 lean_dec_ref(x_783);
 x_788 = lean_box(0);
}
if (lean_is_scalar(x_781)) {
 x_789 = lean_alloc_ctor(1, 1, 0);
} else {
 x_789 = x_781;
}
lean_ctor_set(x_789, 0, x_787);
x_790 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_790, 0, x_13);
lean_ctor_set(x_790, 1, x_15);
lean_ctor_set(x_790, 2, x_16);
lean_ctor_set(x_790, 3, x_17);
lean_ctor_set(x_790, 4, x_765);
lean_ctor_set(x_790, 5, x_773);
lean_ctor_set(x_790, 6, x_775);
lean_ctor_set(x_790, 7, x_776);
lean_ctor_set(x_790, 8, x_789);
if (lean_is_scalar(x_788)) {
 x_791 = lean_alloc_ctor(1, 1, 0);
} else {
 x_791 = x_788;
}
lean_ctor_set(x_791, 0, x_790);
return x_791;
}
}
}
}
else
{
lean_object* x_817; lean_object* x_818; 
lean_dec(x_764);
x_817 = lean_ctor_get(x_772, 0);
lean_inc(x_817);
if (lean_is_exclusive(x_772)) {
 lean_ctor_release(x_772, 0);
 x_818 = x_772;
} else {
 lean_dec_ref(x_772);
 x_818 = lean_box(0);
}
if (lean_obj_tag(x_817) == 4)
{
lean_object* x_819; lean_object* x_820; lean_object* x_821; size_t x_822; size_t x_823; lean_object* x_824; lean_object* x_825; lean_object* x_826; lean_object* x_827; size_t x_828; lean_object* x_829; 
x_819 = lean_ctor_get(x_768, 0);
lean_inc(x_819);
lean_dec(x_768);
x_820 = lean_ctor_get(x_817, 0);
lean_inc(x_820);
lean_dec(x_817);
x_821 = lean_array_get_size(x_820);
x_822 = lean_usize_of_nat(x_821);
lean_dec(x_821);
x_823 = 0;
x_824 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1661____spec__2(x_822, x_823, x_820);
x_825 = lean_ctor_get(x_824, 0);
lean_inc(x_825);
if (lean_is_exclusive(x_824)) {
 lean_ctor_release(x_824, 0);
 x_826 = x_824;
} else {
 lean_dec_ref(x_824);
 x_826 = lean_box(0);
}
x_827 = lean_array_get_size(x_825);
x_828 = lean_usize_of_nat(x_827);
lean_dec(x_827);
x_829 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__4(x_828, x_823, x_825, x_3);
if (lean_obj_tag(x_829) == 0)
{
lean_object* x_830; lean_object* x_831; lean_object* x_832; 
lean_dec(x_826);
lean_dec(x_819);
lean_dec(x_818);
lean_dec(x_765);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_830 = lean_ctor_get(x_829, 0);
lean_inc(x_830);
if (lean_is_exclusive(x_829)) {
 lean_ctor_release(x_829, 0);
 x_831 = x_829;
} else {
 lean_dec_ref(x_829);
 x_831 = lean_box(0);
}
if (lean_is_scalar(x_831)) {
 x_832 = lean_alloc_ctor(0, 1, 0);
} else {
 x_832 = x_831;
}
lean_ctor_set(x_832, 0, x_830);
return x_832;
}
else
{
lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; lean_object* x_854; 
x_833 = lean_ctor_get(x_829, 0);
lean_inc(x_833);
if (lean_is_exclusive(x_829)) {
 lean_ctor_release(x_829, 0);
 x_834 = x_829;
} else {
 lean_dec_ref(x_829);
 x_834 = lean_box(0);
}
if (lean_is_scalar(x_818)) {
 x_835 = lean_alloc_ctor(1, 1, 0);
} else {
 x_835 = x_818;
}
lean_ctor_set(x_835, 0, x_833);
x_854 = lean_ctor_get(x_5, 7);
lean_inc(x_854);
if (lean_obj_tag(x_854) == 0)
{
lean_object* x_855; 
lean_dec(x_826);
x_855 = lean_box(0);
x_836 = x_855;
goto block_853;
}
else
{
lean_object* x_856; lean_object* x_857; 
x_856 = lean_ctor_get(x_854, 0);
lean_inc(x_856);
if (lean_is_exclusive(x_854)) {
 lean_ctor_release(x_854, 0);
 x_857 = x_854;
} else {
 lean_dec_ref(x_854);
 x_857 = lean_box(0);
}
if (lean_obj_tag(x_856) == 4)
{
lean_object* x_858; lean_object* x_859; size_t x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; size_t x_864; lean_object* x_865; 
lean_dec(x_826);
x_858 = lean_ctor_get(x_856, 0);
lean_inc(x_858);
lean_dec(x_856);
x_859 = lean_array_get_size(x_858);
x_860 = lean_usize_of_nat(x_859);
lean_dec(x_859);
x_861 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1661____spec__2(x_860, x_823, x_858);
x_862 = lean_ctor_get(x_861, 0);
lean_inc(x_862);
lean_dec(x_861);
x_863 = lean_array_get_size(x_862);
x_864 = lean_usize_of_nat(x_863);
lean_dec(x_863);
x_865 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2(x_864, x_823, x_862, x_3);
if (lean_obj_tag(x_865) == 0)
{
lean_object* x_866; lean_object* x_867; lean_object* x_868; 
lean_dec(x_857);
lean_dec(x_835);
lean_dec(x_834);
lean_dec(x_819);
lean_dec(x_765);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_866 = lean_ctor_get(x_865, 0);
lean_inc(x_866);
if (lean_is_exclusive(x_865)) {
 lean_ctor_release(x_865, 0);
 x_867 = x_865;
} else {
 lean_dec_ref(x_865);
 x_867 = lean_box(0);
}
if (lean_is_scalar(x_867)) {
 x_868 = lean_alloc_ctor(0, 1, 0);
} else {
 x_868 = x_867;
}
lean_ctor_set(x_868, 0, x_866);
return x_868;
}
else
{
lean_object* x_869; lean_object* x_870; 
x_869 = lean_ctor_get(x_865, 0);
lean_inc(x_869);
lean_dec(x_865);
if (lean_is_scalar(x_857)) {
 x_870 = lean_alloc_ctor(1, 1, 0);
} else {
 x_870 = x_857;
}
lean_ctor_set(x_870, 0, x_869);
x_836 = x_870;
goto block_853;
}
}
else
{
lean_object* x_871; lean_object* x_872; lean_object* x_873; lean_object* x_874; lean_object* x_875; lean_object* x_876; lean_object* x_877; 
lean_dec(x_857);
lean_dec(x_835);
lean_dec(x_834);
lean_dec(x_819);
lean_dec(x_765);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
x_871 = lean_unsigned_to_nat(80u);
x_872 = l_Lean_Json_pretty(x_856, x_871);
x_873 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_874 = lean_string_append(x_873, x_872);
lean_dec(x_872);
x_875 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_876 = lean_string_append(x_874, x_875);
if (lean_is_scalar(x_826)) {
 x_877 = lean_alloc_ctor(0, 1, 0);
} else {
 x_877 = x_826;
 lean_ctor_set_tag(x_877, 0);
}
lean_ctor_set(x_877, 0, x_876);
return x_877;
}
}
block_853:
{
lean_object* x_837; 
x_837 = lean_ctor_get(x_5, 8);
lean_inc(x_837);
lean_dec(x_5);
if (lean_obj_tag(x_837) == 0)
{
lean_object* x_838; lean_object* x_839; lean_object* x_840; 
lean_dec(x_3);
x_838 = lean_box(0);
x_839 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_839, 0, x_13);
lean_ctor_set(x_839, 1, x_15);
lean_ctor_set(x_839, 2, x_16);
lean_ctor_set(x_839, 3, x_17);
lean_ctor_set(x_839, 4, x_765);
lean_ctor_set(x_839, 5, x_819);
lean_ctor_set(x_839, 6, x_835);
lean_ctor_set(x_839, 7, x_836);
lean_ctor_set(x_839, 8, x_838);
if (lean_is_scalar(x_834)) {
 x_840 = lean_alloc_ctor(1, 1, 0);
} else {
 x_840 = x_834;
}
lean_ctor_set(x_840, 0, x_839);
return x_840;
}
else
{
lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; 
x_841 = lean_ctor_get(x_837, 0);
lean_inc(x_841);
if (lean_is_exclusive(x_837)) {
 lean_ctor_release(x_837, 0);
 x_842 = x_837;
} else {
 lean_dec_ref(x_837);
 x_842 = lean_box(0);
}
if (lean_is_scalar(x_834)) {
 x_843 = lean_alloc_ctor(1, 1, 0);
} else {
 x_843 = x_834;
}
lean_ctor_set(x_843, 0, x_841);
x_844 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Widget_WidgetInstance_instRpcEncodableWidgetInstance_dec____x40_Lean_Widget_Types___hyg_3____spec__2(x_843, x_3);
lean_dec(x_3);
if (lean_obj_tag(x_844) == 0)
{
lean_object* x_845; lean_object* x_846; lean_object* x_847; 
lean_dec(x_842);
lean_dec(x_836);
lean_dec(x_835);
lean_dec(x_819);
lean_dec(x_765);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
x_845 = lean_ctor_get(x_844, 0);
lean_inc(x_845);
if (lean_is_exclusive(x_844)) {
 lean_ctor_release(x_844, 0);
 x_846 = x_844;
} else {
 lean_dec_ref(x_844);
 x_846 = lean_box(0);
}
if (lean_is_scalar(x_846)) {
 x_847 = lean_alloc_ctor(0, 1, 0);
} else {
 x_847 = x_846;
}
lean_ctor_set(x_847, 0, x_845);
return x_847;
}
else
{
lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; 
x_848 = lean_ctor_get(x_844, 0);
lean_inc(x_848);
if (lean_is_exclusive(x_844)) {
 lean_ctor_release(x_844, 0);
 x_849 = x_844;
} else {
 lean_dec_ref(x_844);
 x_849 = lean_box(0);
}
if (lean_is_scalar(x_842)) {
 x_850 = lean_alloc_ctor(1, 1, 0);
} else {
 x_850 = x_842;
}
lean_ctor_set(x_850, 0, x_848);
x_851 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_851, 0, x_13);
lean_ctor_set(x_851, 1, x_15);
lean_ctor_set(x_851, 2, x_16);
lean_ctor_set(x_851, 3, x_17);
lean_ctor_set(x_851, 4, x_765);
lean_ctor_set(x_851, 5, x_819);
lean_ctor_set(x_851, 6, x_835);
lean_ctor_set(x_851, 7, x_836);
lean_ctor_set(x_851, 8, x_850);
if (lean_is_scalar(x_849)) {
 x_852 = lean_alloc_ctor(1, 1, 0);
} else {
 x_852 = x_849;
}
lean_ctor_set(x_852, 0, x_851);
return x_852;
}
}
}
}
}
else
{
lean_object* x_878; lean_object* x_879; lean_object* x_880; lean_object* x_881; lean_object* x_882; lean_object* x_883; lean_object* x_884; lean_object* x_885; 
lean_dec(x_818);
lean_dec(x_765);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
if (lean_is_exclusive(x_768)) {
 lean_ctor_release(x_768, 0);
 x_878 = x_768;
} else {
 lean_dec_ref(x_768);
 x_878 = lean_box(0);
}
x_879 = lean_unsigned_to_nat(80u);
x_880 = l_Lean_Json_pretty(x_817, x_879);
x_881 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1;
x_882 = lean_string_append(x_881, x_880);
lean_dec(x_880);
x_883 = l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2;
x_884 = lean_string_append(x_882, x_883);
if (lean_is_scalar(x_878)) {
 x_885 = lean_alloc_ctor(0, 1, 0);
} else {
 x_885 = x_878;
 lean_ctor_set_tag(x_885, 0);
}
lean_ctor_set(x_885, 0, x_884);
return x_885;
}
}
}
}
}
}
}
block_893:
{
if (lean_obj_tag(x_887) == 0)
{
uint8_t x_888; 
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_5);
lean_dec(x_3);
lean_dec(x_1);
x_888 = !lean_is_exclusive(x_887);
if (x_888 == 0)
{
return x_887;
}
else
{
lean_object* x_889; lean_object* x_890; 
x_889 = lean_ctor_get(x_887, 0);
lean_inc(x_889);
lean_dec(x_887);
x_890 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_890, 0, x_889);
return x_890;
}
}
else
{
lean_object* x_891; lean_object* x_892; 
x_891 = lean_ctor_get(x_887, 0);
lean_inc(x_891);
lean_dec(x_887);
x_892 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_892, 0, x_891);
x_17 = x_892;
goto block_886;
}
}
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838_(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg), 3, 0);
return x_2;
}
}
LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__1___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__1(x_1, x_2);
lean_dec(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
size_t x_5; size_t x_6; lean_object* x_7; 
x_5 = lean_unbox_usize(x_1);
lean_dec(x_1);
x_6 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_7 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2(x_5, x_6, x_3, x_4);
lean_dec(x_4);
return x_7;
}
}
LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__3___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__3(x_1, x_2);
lean_dec(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
size_t x_5; size_t x_6; lean_object* x_7; 
x_5 = lean_unbox_usize(x_1);
lean_dec(x_1);
x_6 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_7 = l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__4(x_5, x_6, x_3, x_4);
lean_dec(x_4);
return x_7;
}
}
LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__5___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__5(x_1, x_2);
lean_dec(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__6___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_MonadExcept_ofExcept___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__6(x_1, x_2);
lean_dec(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith___rarg(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; 
lean_inc(x_1);
x_2 = lean_alloc_closure((void*)(l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg), 3, 1);
lean_closure_set(x_2, 0, x_1);
x_3 = lean_alloc_closure((void*)(l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg), 3, 1);
lean_closure_set(x_3, 0, x_1);
x_4 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_4, 0, x_2);
lean_ctor_set(x_4, 1, x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith___rarg), 1, 0);
return x_2;
}
}
static lean_object* _init_l_Lean_Widget_InteractiveDiagnostic_toDiagnostic_prettyTt___lambda__1___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("(trace)", 7, 7);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_InteractiveDiagnostic_toDiagnostic_prettyTt___lambda__1___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Widget_InteractiveDiagnostic_toDiagnostic_prettyTt___lambda__1___closed__1;
x_2 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_InteractiveDiagnostic_toDiagnostic_prettyTt___lambda__1(lean_object* x_1, lean_object* x_2) {
_start:
{
switch (lean_obj_tag(x_1)) {
case 0:
{
uint8_t x_3; 
x_3 = !lean_is_exclusive(x_1);
if (x_3 == 0)
{
lean_object* x_4; lean_object* x_5; 
x_4 = lean_ctor_get(x_1, 0);
x_5 = l_Lean_Widget_TaggedText_stripTags___rarg(x_4);
lean_ctor_set(x_1, 0, x_5);
return x_1;
}
else
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; 
x_6 = lean_ctor_get(x_1, 0);
lean_inc(x_6);
lean_dec(x_1);
x_7 = l_Lean_Widget_TaggedText_stripTags___rarg(x_6);
x_8 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_8, 0, x_7);
return x_8;
}
}
case 1:
{
uint8_t x_9; 
x_9 = !lean_is_exclusive(x_1);
if (x_9 == 0)
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; 
x_10 = lean_ctor_get(x_1, 0);
x_11 = l_Lean_Widget_InteractiveGoal_pretty(x_10);
x_12 = l_Std_Format_defWidth;
x_13 = lean_unsigned_to_nat(0u);
x_14 = lean_format_pretty(x_11, x_12, x_13, x_13);
lean_ctor_set_tag(x_1, 0);
lean_ctor_set(x_1, 0, x_14);
return x_1;
}
else
{
lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; 
x_15 = lean_ctor_get(x_1, 0);
lean_inc(x_15);
lean_dec(x_1);
x_16 = l_Lean_Widget_InteractiveGoal_pretty(x_15);
x_17 = l_Std_Format_defWidth;
x_18 = lean_unsigned_to_nat(0u);
x_19 = lean_format_pretty(x_16, x_17, x_18, x_18);
x_20 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_20, 0, x_19);
return x_20;
}
}
case 2:
{
lean_object* x_21; lean_object* x_22; lean_object* x_23; 
x_21 = lean_ctor_get(x_1, 1);
lean_inc(x_21);
lean_dec(x_1);
x_22 = l_Lean_Widget_InteractiveDiagnostic_toDiagnostic_prettyTt(x_21);
x_23 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_23, 0, x_22);
return x_23;
}
default: 
{
lean_object* x_24; 
lean_dec(x_1);
x_24 = l_Lean_Widget_InteractiveDiagnostic_toDiagnostic_prettyTt___lambda__1___closed__2;
return x_24;
}
}
}
}
static lean_object* _init_l_Lean_Widget_InteractiveDiagnostic_toDiagnostic_prettyTt___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Widget_InteractiveDiagnostic_toDiagnostic_prettyTt___lambda__1___boxed), 2, 0);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_InteractiveDiagnostic_toDiagnostic_prettyTt(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_2 = l_Lean_Widget_InteractiveDiagnostic_toDiagnostic_prettyTt___closed__1;
x_3 = l_Lean_Widget_TaggedText_rewrite___rarg(x_2, x_1);
x_4 = l_Lean_Widget_TaggedText_stripTags___rarg(x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_InteractiveDiagnostic_toDiagnostic_prettyTt___lambda__1___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_Widget_InteractiveDiagnostic_toDiagnostic_prettyTt___lambda__1(x_1, x_2);
lean_dec(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_InteractiveDiagnostic_toDiagnostic(lean_object* x_1) {
_start:
{
uint8_t x_2; 
x_2 = !lean_is_exclusive(x_1);
if (x_2 == 0)
{
lean_object* x_3; lean_object* x_4; 
x_3 = lean_ctor_get(x_1, 5);
x_4 = l_Lean_Widget_InteractiveDiagnostic_toDiagnostic_prettyTt(x_3);
lean_ctor_set(x_1, 5, x_4);
return x_1;
}
else
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; 
x_5 = lean_ctor_get(x_1, 0);
x_6 = lean_ctor_get(x_1, 1);
x_7 = lean_ctor_get(x_1, 2);
x_8 = lean_ctor_get(x_1, 3);
x_9 = lean_ctor_get(x_1, 4);
x_10 = lean_ctor_get(x_1, 5);
x_11 = lean_ctor_get(x_1, 6);
x_12 = lean_ctor_get(x_1, 7);
x_13 = lean_ctor_get(x_1, 8);
lean_inc(x_13);
lean_inc(x_12);
lean_inc(x_11);
lean_inc(x_10);
lean_inc(x_9);
lean_inc(x_8);
lean_inc(x_7);
lean_inc(x_6);
lean_inc(x_5);
lean_dec(x_1);
x_14 = l_Lean_Widget_InteractiveDiagnostic_toDiagnostic_prettyTt(x_10);
x_15 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_15, 0, x_5);
lean_ctor_set(x_15, 1, x_6);
lean_ctor_set(x_15, 2, x_7);
lean_ctor_set(x_15, 3, x_8);
lean_ctor_set(x_15, 4, x_9);
lean_ctor_set(x_15, 5, x_14);
lean_ctor_set(x_15, 6, x_11);
lean_ctor_set(x_15, 7, x_12);
lean_ctor_set(x_15, 8, x_13);
return x_15;
}
}
}
LEAN_EXPORT uint8_t l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_DiagnosticWith_ordUserVisible____x40_Lean_Data_Lsp_Diagnostics___hyg_2072____at_Lean_Widget_InteractiveDiagnostic_compareAsDiagnostics___spec__2(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; uint8_t x_20; uint8_t x_126; 
x_3 = lean_ctor_get(x_1, 0);
lean_inc(x_3);
x_4 = lean_ctor_get(x_1, 1);
lean_inc(x_4);
x_5 = lean_ctor_get(x_1, 2);
lean_inc(x_5);
x_6 = lean_ctor_get(x_1, 3);
lean_inc(x_6);
x_7 = lean_ctor_get(x_1, 4);
lean_inc(x_7);
x_8 = lean_ctor_get(x_1, 5);
lean_inc(x_8);
x_9 = lean_ctor_get(x_1, 6);
lean_inc(x_9);
x_10 = lean_ctor_get(x_1, 7);
lean_inc(x_10);
lean_dec(x_1);
x_11 = lean_ctor_get(x_2, 0);
lean_inc(x_11);
x_12 = lean_ctor_get(x_2, 1);
lean_inc(x_12);
x_13 = lean_ctor_get(x_2, 2);
lean_inc(x_13);
x_14 = lean_ctor_get(x_2, 3);
lean_inc(x_14);
x_15 = lean_ctor_get(x_2, 4);
lean_inc(x_15);
x_16 = lean_ctor_get(x_2, 5);
lean_inc(x_16);
x_17 = lean_ctor_get(x_2, 6);
lean_inc(x_17);
x_18 = lean_ctor_get(x_2, 7);
lean_inc(x_18);
lean_dec(x_2);
x_19 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_ordRange____x40_Lean_Data_Lsp_Basic___hyg_888_(x_3, x_11);
lean_dec(x_11);
lean_dec(x_3);
x_126 = lean_string_dec_lt(x_8, x_16);
if (x_126 == 0)
{
uint8_t x_127; 
x_127 = lean_string_dec_eq(x_8, x_16);
lean_dec(x_16);
lean_dec(x_8);
if (x_127 == 0)
{
uint8_t x_128; 
x_128 = 2;
x_20 = x_128;
goto block_125;
}
else
{
uint8_t x_129; 
x_129 = 1;
x_20 = x_129;
goto block_125;
}
}
else
{
uint8_t x_130; 
lean_dec(x_16);
lean_dec(x_8);
x_130 = 0;
x_20 = x_130;
goto block_125;
}
block_125:
{
uint8_t x_21; 
if (lean_obj_tag(x_4) == 0)
{
if (lean_obj_tag(x_12) == 0)
{
uint8_t x_119; 
x_119 = 1;
x_21 = x_119;
goto block_118;
}
else
{
uint8_t x_120; 
lean_dec(x_12);
x_120 = 0;
x_21 = x_120;
goto block_118;
}
}
else
{
if (lean_obj_tag(x_12) == 0)
{
uint8_t x_121; 
lean_dec(x_4);
x_121 = 2;
x_21 = x_121;
goto block_118;
}
else
{
lean_object* x_122; lean_object* x_123; uint8_t x_124; 
x_122 = lean_ctor_get(x_4, 0);
lean_inc(x_122);
lean_dec(x_4);
x_123 = lean_ctor_get(x_12, 0);
lean_inc(x_123);
lean_dec(x_12);
x_124 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_ordRange____x40_Lean_Data_Lsp_Basic___hyg_888_(x_122, x_123);
lean_dec(x_123);
lean_dec(x_122);
x_21 = x_124;
goto block_118;
}
}
block_118:
{
uint8_t x_22; uint8_t x_27; 
if (lean_obj_tag(x_5) == 0)
{
if (lean_obj_tag(x_13) == 0)
{
uint8_t x_110; 
x_110 = 1;
x_27 = x_110;
goto block_109;
}
else
{
uint8_t x_111; 
lean_dec(x_13);
x_111 = 0;
x_27 = x_111;
goto block_109;
}
}
else
{
if (lean_obj_tag(x_13) == 0)
{
uint8_t x_112; 
lean_dec(x_5);
x_112 = 2;
x_27 = x_112;
goto block_109;
}
else
{
lean_object* x_113; lean_object* x_114; uint8_t x_115; uint8_t x_116; uint8_t x_117; 
x_113 = lean_ctor_get(x_5, 0);
lean_inc(x_113);
lean_dec(x_5);
x_114 = lean_ctor_get(x_13, 0);
lean_inc(x_114);
lean_dec(x_13);
x_115 = lean_unbox(x_113);
lean_dec(x_113);
x_116 = lean_unbox(x_114);
lean_dec(x_114);
x_117 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_ordDiagnosticSeverity____x40_Lean_Data_Lsp_Diagnostics___hyg_38_(x_115, x_116);
x_27 = x_117;
goto block_109;
}
}
block_26:
{
lean_object* x_23; 
x_23 = lean_box(x_21);
if (lean_obj_tag(x_23) == 1)
{
lean_object* x_24; 
x_24 = lean_box(x_19);
if (lean_obj_tag(x_24) == 1)
{
return x_22;
}
else
{
lean_dec(x_24);
return x_19;
}
}
else
{
lean_object* x_25; 
lean_dec(x_23);
x_25 = lean_box(x_19);
if (lean_obj_tag(x_25) == 1)
{
return x_21;
}
else
{
lean_dec(x_25);
return x_19;
}
}
}
block_109:
{
lean_object* x_28; uint8_t x_33; 
if (lean_obj_tag(x_6) == 0)
{
if (lean_obj_tag(x_14) == 0)
{
uint8_t x_103; 
x_103 = 1;
x_33 = x_103;
goto block_102;
}
else
{
uint8_t x_104; 
lean_dec(x_14);
x_104 = 0;
x_33 = x_104;
goto block_102;
}
}
else
{
if (lean_obj_tag(x_14) == 0)
{
uint8_t x_105; 
lean_dec(x_6);
x_105 = 2;
x_33 = x_105;
goto block_102;
}
else
{
lean_object* x_106; lean_object* x_107; uint8_t x_108; 
x_106 = lean_ctor_get(x_6, 0);
lean_inc(x_106);
lean_dec(x_6);
x_107 = lean_ctor_get(x_14, 0);
lean_inc(x_107);
lean_dec(x_14);
x_108 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_ordDiagnosticCode____x40_Lean_Data_Lsp_Diagnostics___hyg_412_(x_106, x_107);
lean_dec(x_107);
lean_dec(x_106);
x_33 = x_108;
goto block_102;
}
}
block_32:
{
lean_object* x_29; 
lean_dec(x_28);
x_29 = lean_box(x_21);
if (lean_obj_tag(x_29) == 1)
{
lean_object* x_30; 
x_30 = lean_box(x_19);
if (lean_obj_tag(x_30) == 1)
{
return x_27;
}
else
{
lean_dec(x_30);
return x_19;
}
}
else
{
lean_object* x_31; 
lean_dec(x_29);
x_31 = lean_box(x_19);
if (lean_obj_tag(x_31) == 1)
{
return x_21;
}
else
{
lean_dec(x_31);
return x_19;
}
}
}
block_102:
{
uint8_t x_34; uint8_t x_41; 
if (lean_obj_tag(x_7) == 0)
{
if (lean_obj_tag(x_15) == 0)
{
uint8_t x_92; 
x_92 = 1;
x_41 = x_92;
goto block_91;
}
else
{
uint8_t x_93; 
lean_dec(x_15);
x_93 = 0;
x_41 = x_93;
goto block_91;
}
}
else
{
if (lean_obj_tag(x_15) == 0)
{
uint8_t x_94; 
lean_dec(x_7);
x_94 = 2;
x_41 = x_94;
goto block_91;
}
else
{
lean_object* x_95; lean_object* x_96; uint8_t x_97; 
x_95 = lean_ctor_get(x_7, 0);
lean_inc(x_95);
lean_dec(x_7);
x_96 = lean_ctor_get(x_15, 0);
lean_inc(x_96);
lean_dec(x_15);
x_97 = lean_string_dec_lt(x_95, x_96);
if (x_97 == 0)
{
uint8_t x_98; 
x_98 = lean_string_dec_eq(x_95, x_96);
lean_dec(x_96);
lean_dec(x_95);
if (x_98 == 0)
{
uint8_t x_99; 
x_99 = 2;
x_41 = x_99;
goto block_91;
}
else
{
uint8_t x_100; 
x_100 = 1;
x_41 = x_100;
goto block_91;
}
}
else
{
uint8_t x_101; 
lean_dec(x_96);
lean_dec(x_95);
x_101 = 0;
x_41 = x_101;
goto block_91;
}
}
}
block_40:
{
lean_object* x_35; 
x_35 = lean_box(x_33);
if (lean_obj_tag(x_35) == 1)
{
lean_object* x_36; 
x_36 = lean_box(x_27);
if (lean_obj_tag(x_36) == 1)
{
x_22 = x_34;
goto block_26;
}
else
{
lean_object* x_37; 
lean_dec(x_36);
x_37 = lean_box(0);
x_28 = x_37;
goto block_32;
}
}
else
{
lean_object* x_38; 
lean_dec(x_35);
x_38 = lean_box(x_27);
if (lean_obj_tag(x_38) == 1)
{
x_22 = x_33;
goto block_26;
}
else
{
lean_object* x_39; 
lean_dec(x_38);
x_39 = lean_box(0);
x_28 = x_39;
goto block_32;
}
}
}
block_91:
{
lean_object* x_42; uint8_t x_49; uint8_t x_56; 
if (lean_obj_tag(x_9) == 0)
{
if (lean_obj_tag(x_17) == 0)
{
uint8_t x_84; 
x_84 = 1;
x_56 = x_84;
goto block_83;
}
else
{
uint8_t x_85; 
lean_dec(x_17);
x_85 = 0;
x_56 = x_85;
goto block_83;
}
}
else
{
if (lean_obj_tag(x_17) == 0)
{
uint8_t x_86; 
lean_dec(x_9);
x_86 = 2;
x_56 = x_86;
goto block_83;
}
else
{
lean_object* x_87; lean_object* x_88; lean_object* x_89; uint8_t x_90; 
x_87 = lean_ctor_get(x_9, 0);
lean_inc(x_87);
lean_dec(x_9);
x_88 = lean_ctor_get(x_17, 0);
lean_inc(x_88);
lean_dec(x_17);
x_89 = l_Lean_Lsp_instOrdDiagnosticTag;
x_90 = l_Ord_arrayOrd___elambda__1___rarg(x_89, x_87, x_88);
x_56 = x_90;
goto block_83;
}
}
block_48:
{
lean_object* x_43; 
lean_dec(x_42);
x_43 = lean_box(x_33);
if (lean_obj_tag(x_43) == 1)
{
lean_object* x_44; 
x_44 = lean_box(x_27);
if (lean_obj_tag(x_44) == 1)
{
x_22 = x_41;
goto block_26;
}
else
{
lean_object* x_45; 
lean_dec(x_44);
x_45 = lean_box(0);
x_28 = x_45;
goto block_32;
}
}
else
{
lean_object* x_46; 
lean_dec(x_43);
x_46 = lean_box(x_27);
if (lean_obj_tag(x_46) == 1)
{
x_22 = x_33;
goto block_26;
}
else
{
lean_object* x_47; 
lean_dec(x_46);
x_47 = lean_box(0);
x_28 = x_47;
goto block_32;
}
}
}
block_55:
{
lean_object* x_50; 
x_50 = lean_box(x_20);
if (lean_obj_tag(x_50) == 1)
{
lean_object* x_51; 
x_51 = lean_box(x_41);
if (lean_obj_tag(x_51) == 1)
{
x_34 = x_49;
goto block_40;
}
else
{
lean_object* x_52; 
lean_dec(x_51);
x_52 = lean_box(0);
x_42 = x_52;
goto block_48;
}
}
else
{
lean_object* x_53; 
lean_dec(x_50);
x_53 = lean_box(x_41);
if (lean_obj_tag(x_53) == 1)
{
x_34 = x_20;
goto block_40;
}
else
{
lean_object* x_54; 
lean_dec(x_53);
x_54 = lean_box(0);
x_42 = x_54;
goto block_48;
}
}
}
block_83:
{
lean_object* x_57; 
if (lean_obj_tag(x_10) == 0)
{
if (lean_obj_tag(x_18) == 0)
{
lean_object* x_64; 
x_64 = lean_box(x_56);
if (lean_obj_tag(x_64) == 1)
{
uint8_t x_65; 
x_65 = 1;
x_49 = x_65;
goto block_55;
}
else
{
lean_object* x_66; 
lean_dec(x_64);
x_66 = lean_box(0);
x_57 = x_66;
goto block_63;
}
}
else
{
lean_object* x_67; 
lean_dec(x_18);
x_67 = lean_box(x_56);
if (lean_obj_tag(x_67) == 1)
{
uint8_t x_68; 
x_68 = 0;
x_49 = x_68;
goto block_55;
}
else
{
lean_object* x_69; 
lean_dec(x_67);
x_69 = lean_box(0);
x_57 = x_69;
goto block_63;
}
}
}
else
{
if (lean_obj_tag(x_18) == 0)
{
lean_object* x_70; 
lean_dec(x_10);
x_70 = lean_box(x_56);
if (lean_obj_tag(x_70) == 1)
{
uint8_t x_71; 
x_71 = 2;
x_49 = x_71;
goto block_55;
}
else
{
lean_object* x_72; 
lean_dec(x_70);
x_72 = lean_box(0);
x_57 = x_72;
goto block_63;
}
}
else
{
lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; lean_object* x_77; 
x_73 = lean_ctor_get(x_10, 0);
lean_inc(x_73);
lean_dec(x_10);
x_74 = lean_ctor_get(x_18, 0);
lean_inc(x_74);
lean_dec(x_18);
x_75 = l_Lean_Lsp_instOrdDiagnosticRelatedInformation;
x_76 = l_Ord_arrayOrd___elambda__1___rarg(x_75, x_73, x_74);
x_77 = lean_box(x_76);
if (lean_obj_tag(x_77) == 1)
{
lean_object* x_78; 
x_78 = lean_box(x_56);
if (lean_obj_tag(x_78) == 1)
{
uint8_t x_79; 
x_79 = 1;
x_49 = x_79;
goto block_55;
}
else
{
lean_object* x_80; 
lean_dec(x_78);
x_80 = lean_box(0);
x_57 = x_80;
goto block_63;
}
}
else
{
lean_object* x_81; 
lean_dec(x_77);
x_81 = lean_box(x_56);
if (lean_obj_tag(x_81) == 1)
{
x_49 = x_76;
goto block_55;
}
else
{
lean_object* x_82; 
lean_dec(x_81);
x_82 = lean_box(0);
x_57 = x_82;
goto block_63;
}
}
}
}
block_63:
{
lean_object* x_58; 
lean_dec(x_57);
x_58 = lean_box(x_20);
if (lean_obj_tag(x_58) == 1)
{
lean_object* x_59; 
x_59 = lean_box(x_41);
if (lean_obj_tag(x_59) == 1)
{
x_34 = x_56;
goto block_40;
}
else
{
lean_object* x_60; 
lean_dec(x_59);
x_60 = lean_box(0);
x_42 = x_60;
goto block_48;
}
}
else
{
lean_object* x_61; 
lean_dec(x_58);
x_61 = lean_box(x_41);
if (lean_obj_tag(x_61) == 1)
{
x_34 = x_20;
goto block_40;
}
else
{
lean_object* x_62; 
lean_dec(x_61);
x_62 = lean_box(0);
x_42 = x_62;
goto block_48;
}
}
}
}
}
}
}
}
}
}
}
LEAN_EXPORT uint8_t l_Lean_Lsp_compareByUserVisible___at_Lean_Widget_InteractiveDiagnostic_compareAsDiagnostics___spec__1(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; uint8_t x_5; 
x_3 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_DiagnosticWith_UserVisible_ofDiagnostic___rarg(x_1);
x_4 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_DiagnosticWith_UserVisible_ofDiagnostic___rarg(x_2);
x_5 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_DiagnosticWith_ordUserVisible____x40_Lean_Data_Lsp_Diagnostics___hyg_2072____at_Lean_Widget_InteractiveDiagnostic_compareAsDiagnostics___spec__2(x_3, x_4);
return x_5;
}
}
LEAN_EXPORT uint8_t l_Lean_Widget_InteractiveDiagnostic_compareAsDiagnostics(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; uint8_t x_5; 
x_3 = l_Lean_Widget_InteractiveDiagnostic_toDiagnostic(x_1);
x_4 = l_Lean_Widget_InteractiveDiagnostic_toDiagnostic(x_2);
x_5 = l_Lean_Lsp_compareByUserVisible___at_Lean_Widget_InteractiveDiagnostic_compareAsDiagnostics___spec__1(x_3, x_4);
lean_dec(x_4);
lean_dec(x_3);
return x_5;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_DiagnosticWith_ordUserVisible____x40_Lean_Data_Lsp_Diagnostics___hyg_2072____at_Lean_Widget_InteractiveDiagnostic_compareAsDiagnostics___spec__2___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; lean_object* x_4; 
x_3 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_DiagnosticWith_ordUserVisible____x40_Lean_Data_Lsp_Diagnostics___hyg_2072____at_Lean_Widget_InteractiveDiagnostic_compareAsDiagnostics___spec__2(x_1, x_2);
x_4 = lean_box(x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_Lsp_compareByUserVisible___at_Lean_Widget_InteractiveDiagnostic_compareAsDiagnostics___spec__1___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; lean_object* x_4; 
x_3 = l_Lean_Lsp_compareByUserVisible___at_Lean_Widget_InteractiveDiagnostic_compareAsDiagnostics___spec__1(x_1, x_2);
lean_dec(x_2);
lean_dec(x_1);
x_4 = lean_box(x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_InteractiveDiagnostic_compareAsDiagnostics___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; lean_object* x_4; 
x_3 = l_Lean_Widget_InteractiveDiagnostic_compareAsDiagnostics(x_1, x_2);
x_4 = lean_box(x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_mkPPContext(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; 
x_3 = lean_ctor_get(x_2, 0);
x_4 = lean_ctor_get(x_2, 1);
x_5 = lean_ctor_get(x_2, 2);
x_6 = lean_ctor_get(x_2, 3);
x_7 = lean_ctor_get(x_1, 0);
x_8 = lean_ctor_get(x_1, 1);
lean_inc(x_8);
lean_inc(x_7);
lean_inc(x_6);
lean_inc(x_5);
lean_inc(x_4);
lean_inc(x_3);
x_9 = lean_alloc_ctor(0, 6, 0);
lean_ctor_set(x_9, 0, x_3);
lean_ctor_set(x_9, 1, x_4);
lean_ctor_set(x_9, 2, x_5);
lean_ctor_set(x_9, 3, x_6);
lean_ctor_set(x_9, 4, x_7);
lean_ctor_set(x_9, 5, x_8);
return x_9;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_mkPPContext___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_mkPPContext(x_1, x_2);
lean_dec(x_2);
lean_dec(x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Widget_instInhabitedEmbedFmt___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(0u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Widget_instInhabitedEmbedFmt___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Widget_instInhabitedEmbedFmt___closed__1;
x_2 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Widget_instInhabitedEmbedFmt___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; 
x_1 = lean_box(0);
x_2 = lean_box(0);
x_3 = 0;
x_4 = l_Lean_Widget_instInhabitedEmbedFmt___closed__2;
x_5 = lean_alloc_ctor(3, 3, 1);
lean_ctor_set(x_5, 0, x_1);
lean_ctor_set(x_5, 1, x_2);
lean_ctor_set(x_5, 2, x_4);
lean_ctor_set_uint8(x_5, sizeof(void*)*3, x_3);
return x_5;
}
}
static lean_object* _init_l_Lean_Widget_instInhabitedEmbedFmt() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Widget_instInhabitedEmbedFmt___closed__3;
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_initFn____x40_Lean_Widget_InteractiveDiagnostic___hyg_3321____closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("infoview", 8, 8);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_initFn____x40_Lean_Widget_InteractiveDiagnostic___hyg_3321____closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("maxTraceChildren", 16, 16);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_initFn____x40_Lean_Widget_InteractiveDiagnostic___hyg_3321____closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Widget_initFn____x40_Lean_Widget_InteractiveDiagnostic___hyg_3321____closed__1;
x_2 = l_Lean_Widget_initFn____x40_Lean_Widget_InteractiveDiagnostic___hyg_3321____closed__2;
x_3 = l_Lean_Name_mkStr2(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Widget_initFn____x40_Lean_Widget_InteractiveDiagnostic___hyg_3321____closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Number of trace node children to display by default", 51, 51);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_initFn____x40_Lean_Widget_InteractiveDiagnostic___hyg_3321____closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = lean_unsigned_to_nat(50u);
x_2 = l_Lean_Widget_instInhabitedMsgEmbed___closed__1;
x_3 = l_Lean_Widget_initFn____x40_Lean_Widget_InteractiveDiagnostic___hyg_3321____closed__4;
x_4 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Widget_initFn____x40_Lean_Widget_InteractiveDiagnostic___hyg_3321____closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Widget_instImpl____x40_Lean_Widget_InteractiveDiagnostic___hyg_541____closed__1;
x_2 = l_Lean_Widget_instImpl____x40_Lean_Widget_InteractiveDiagnostic___hyg_541____closed__2;
x_3 = l_Lean_Widget_initFn____x40_Lean_Widget_InteractiveDiagnostic___hyg_3321____closed__1;
x_4 = l_Lean_Widget_initFn____x40_Lean_Widget_InteractiveDiagnostic___hyg_3321____closed__2;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_initFn____x40_Lean_Widget_InteractiveDiagnostic___hyg_3321_(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_2 = l_Lean_Widget_initFn____x40_Lean_Widget_InteractiveDiagnostic___hyg_3321____closed__3;
x_3 = l_Lean_Widget_initFn____x40_Lean_Widget_InteractiveDiagnostic___hyg_3321____closed__5;
x_4 = l_Lean_Widget_initFn____x40_Lean_Widget_InteractiveDiagnostic___hyg_3321____closed__6;
x_5 = l_Lean_Option_register___at_Lean_initFn____x40_Lean_Util_RecDepth___hyg_6____spec__1(x_2, x_3, x_4, x_1);
return x_5;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_pushEmbed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_4 = lean_array_get_size(x_2);
x_5 = lean_array_push(x_2, x_1);
x_6 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_6, 0, x_4);
lean_ctor_set(x_6, 1, x_5);
x_7 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_7, 0, x_6);
lean_ctor_set(x_7, 1, x_3);
return x_7;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_withIgnoreTags(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; lean_object* x_5; uint8_t x_6; 
x_4 = lean_box(4);
x_5 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_pushEmbed(x_4, x_2, x_3);
x_6 = !lean_is_exclusive(x_5);
if (x_6 == 0)
{
lean_object* x_7; uint8_t x_8; 
x_7 = lean_ctor_get(x_5, 0);
x_8 = !lean_is_exclusive(x_7);
if (x_8 == 0)
{
lean_object* x_9; lean_object* x_10; 
x_9 = lean_ctor_get(x_7, 0);
x_10 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_10, 0, x_9);
lean_ctor_set(x_10, 1, x_1);
lean_ctor_set(x_7, 0, x_10);
return x_5;
}
else
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; 
x_11 = lean_ctor_get(x_7, 0);
x_12 = lean_ctor_get(x_7, 1);
lean_inc(x_12);
lean_inc(x_11);
lean_dec(x_7);
x_13 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_13, 0, x_11);
lean_ctor_set(x_13, 1, x_1);
x_14 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_14, 0, x_13);
lean_ctor_set(x_14, 1, x_12);
lean_ctor_set(x_5, 0, x_14);
return x_5;
}
}
else
{
lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; 
x_15 = lean_ctor_get(x_5, 0);
x_16 = lean_ctor_get(x_5, 1);
lean_inc(x_16);
lean_inc(x_15);
lean_dec(x_5);
x_17 = lean_ctor_get(x_15, 0);
lean_inc(x_17);
x_18 = lean_ctor_get(x_15, 1);
lean_inc(x_18);
if (lean_is_exclusive(x_15)) {
 lean_ctor_release(x_15, 0);
 lean_ctor_release(x_15, 1);
 x_19 = x_15;
} else {
 lean_dec_ref(x_15);
 x_19 = lean_box(0);
}
x_20 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_20, 0, x_17);
lean_ctor_set(x_20, 1, x_1);
if (lean_is_scalar(x_19)) {
 x_21 = lean_alloc_ctor(0, 2, 0);
} else {
 x_21 = x_19;
}
lean_ctor_set(x_21, 0, x_20);
lean_ctor_set(x_21, 1, x_18);
x_22 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_22, 0, x_21);
lean_ctor_set(x_22, 1, x_16);
return x_22;
}
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_mkContextInfo___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Widget_instInhabitedMsgEmbed___closed__1;
x_2 = l_Lean_Widget_instInhabitedEmbedFmt___closed__1;
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_mkContextInfo___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("_diag", 5, 5);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_mkContextInfo___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_mkContextInfo___closed__2;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_mkContextInfo___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_mkContextInfo___closed__3;
x_2 = lean_unsigned_to_nat(1u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_mkContextInfo(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_3 = lean_ctor_get(x_2, 0);
x_4 = lean_ctor_get(x_2, 1);
x_5 = lean_ctor_get(x_2, 3);
x_6 = lean_ctor_get(x_1, 0);
x_7 = lean_ctor_get(x_1, 1);
x_8 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_mkContextInfo___closed__1;
x_9 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_mkContextInfo___closed__4;
lean_inc(x_7);
lean_inc(x_6);
lean_inc(x_5);
lean_inc(x_4);
lean_inc(x_3);
x_10 = lean_alloc_ctor(0, 7, 0);
lean_ctor_set(x_10, 0, x_3);
lean_ctor_set(x_10, 1, x_8);
lean_ctor_set(x_10, 2, x_4);
lean_ctor_set(x_10, 3, x_5);
lean_ctor_set(x_10, 4, x_6);
lean_ctor_set(x_10, 5, x_7);
lean_ctor_set(x_10, 6, x_9);
x_11 = lean_box(0);
x_12 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_12, 0, x_10);
lean_ctor_set(x_12, 1, x_11);
return x_12;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_mkContextInfo___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_mkContextInfo(x_1, x_2);
lean_dec(x_2);
lean_dec(x_1);
return x_3;
}
}
static double _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_chopUpChildren___closed__1() {
_start:
{
lean_object* x_1; uint8_t x_2; double x_3; 
x_1 = lean_unsigned_to_nat(0u);
x_2 = 0;
x_3 = l_Float_ofScientific(x_1, x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_chopUpChildren___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Widget_instInhabitedMsgEmbed___closed__1;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_chopUpChildren___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(" more entries...", 16, 16);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_chopUpChildren___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_chopUpChildren___closed__3;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_chopUpChildren(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; 
x_4 = lean_unsigned_to_nat(1u);
x_5 = lean_nat_add(x_2, x_4);
x_6 = l_Subarray_size___rarg(x_3);
x_7 = lean_nat_dec_lt(x_5, x_6);
lean_dec(x_5);
if (x_7 == 0)
{
lean_object* x_8; 
lean_dec(x_6);
lean_dec(x_2);
lean_dec(x_1);
x_8 = l_Array_ofSubarray___rarg(x_3);
return x_8;
}
else
{
lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; double x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; 
x_9 = l_Array_ofSubarray___rarg(x_3);
x_10 = l_Subarray_size___rarg(x_3);
lean_inc(x_2);
x_11 = l_Array_toSubarray___rarg(x_9, x_2, x_10);
lean_inc(x_2);
lean_inc(x_1);
x_12 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_chopUpChildren(x_1, x_2, x_11);
lean_dec(x_11);
x_13 = l_Array_ofSubarray___rarg(x_3);
x_14 = lean_unsigned_to_nat(0u);
lean_inc(x_2);
x_15 = l_Array_toSubarray___rarg(x_13, x_14, x_2);
x_16 = l_Array_ofSubarray___rarg(x_15);
lean_dec(x_15);
x_17 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_chopUpChildren___closed__1;
x_18 = 1;
x_19 = l_Lean_Widget_instInhabitedMsgEmbed___closed__1;
x_20 = lean_alloc_ctor(0, 2, 17);
lean_ctor_set(x_20, 0, x_1);
lean_ctor_set(x_20, 1, x_19);
lean_ctor_set_float(x_20, sizeof(void*)*2, x_17);
lean_ctor_set_float(x_20, sizeof(void*)*2 + 8, x_17);
lean_ctor_set_uint8(x_20, sizeof(void*)*2 + 16, x_18);
x_21 = lean_nat_sub(x_6, x_2);
lean_dec(x_2);
lean_dec(x_6);
x_22 = l___private_Init_Data_Repr_0__Nat_reprFast(x_21);
x_23 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_23, 0, x_22);
x_24 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_chopUpChildren___closed__2;
x_25 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_25, 0, x_24);
lean_ctor_set(x_25, 1, x_23);
x_26 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_chopUpChildren___closed__4;
x_27 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_27, 0, x_25);
lean_ctor_set(x_27, 1, x_26);
x_28 = l_Lean_MessageData_ofFormat(x_27);
x_29 = lean_alloc_ctor(9, 3, 0);
lean_ctor_set(x_29, 0, x_20);
lean_ctor_set(x_29, 1, x_28);
lean_ctor_set(x_29, 2, x_12);
x_30 = lean_array_push(x_16, x_29);
return x_30;
}
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_chopUpChildren___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_chopUpChildren(x_1, x_2, x_3);
lean_dec(x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
uint8_t x_8; 
x_8 = lean_usize_dec_lt(x_4, x_3);
if (x_8 == 0)
{
lean_object* x_9; lean_object* x_10; 
lean_dec(x_2);
lean_dec(x_1);
x_9 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_9, 0, x_5);
lean_ctor_set(x_9, 1, x_6);
x_10 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_10, 0, x_9);
lean_ctor_set(x_10, 1, x_7);
return x_10;
}
else
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; 
x_11 = lean_array_uget(x_5, x_4);
x_12 = lean_unsigned_to_nat(0u);
x_13 = lean_array_uset(x_5, x_4, x_12);
lean_inc(x_2);
lean_inc(x_1);
x_14 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go(x_1, x_2, x_11, x_6, x_7);
if (lean_obj_tag(x_14) == 0)
{
lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; size_t x_19; size_t x_20; lean_object* x_21; 
x_15 = lean_ctor_get(x_14, 0);
lean_inc(x_15);
x_16 = lean_ctor_get(x_14, 1);
lean_inc(x_16);
lean_dec(x_14);
x_17 = lean_ctor_get(x_15, 0);
lean_inc(x_17);
x_18 = lean_ctor_get(x_15, 1);
lean_inc(x_18);
lean_dec(x_15);
x_19 = 1;
x_20 = lean_usize_add(x_4, x_19);
x_21 = lean_array_uset(x_13, x_4, x_17);
x_4 = x_20;
x_5 = x_21;
x_6 = x_18;
x_7 = x_16;
goto _start;
}
else
{
uint8_t x_23; 
lean_dec(x_13);
lean_dec(x_2);
lean_dec(x_1);
x_23 = !lean_is_exclusive(x_14);
if (x_23 == 0)
{
return x_14;
}
else
{
lean_object* x_24; lean_object* x_25; lean_object* x_26; 
x_24 = lean_ctor_get(x_14, 0);
x_25 = lean_ctor_get(x_14, 1);
lean_inc(x_25);
lean_inc(x_24);
lean_dec(x_14);
x_26 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_26, 0, x_24);
lean_ctor_set(x_26, 1, x_25);
return x_26;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) {
_start:
{
uint8_t x_5; 
x_5 = lean_usize_dec_lt(x_3, x_2);
if (x_5 == 0)
{
lean_dec(x_1);
return x_4;
}
else
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; size_t x_10; size_t x_11; lean_object* x_12; 
x_6 = lean_array_uget(x_4, x_3);
x_7 = lean_unsigned_to_nat(0u);
x_8 = lean_array_uset(x_4, x_3, x_7);
lean_inc(x_1);
x_9 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_9, 0, x_1);
lean_ctor_set(x_9, 1, x_6);
x_10 = 1;
x_11 = lean_usize_add(x_3, x_10);
x_12 = lean_array_uset(x_8, x_3, x_9);
x_3 = x_11;
x_4 = x_12;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___spec__3(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
uint8_t x_8; 
x_8 = lean_usize_dec_lt(x_4, x_3);
if (x_8 == 0)
{
lean_object* x_9; lean_object* x_10; 
lean_dec(x_2);
lean_dec(x_1);
x_9 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_9, 0, x_5);
lean_ctor_set(x_9, 1, x_6);
x_10 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_10, 0, x_9);
lean_ctor_set(x_10, 1, x_7);
return x_10;
}
else
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; 
x_11 = lean_array_uget(x_5, x_4);
x_12 = lean_unsigned_to_nat(0u);
x_13 = lean_array_uset(x_5, x_4, x_12);
lean_inc(x_2);
lean_inc(x_1);
x_14 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go(x_1, x_2, x_11, x_6, x_7);
if (lean_obj_tag(x_14) == 0)
{
lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; size_t x_19; size_t x_20; lean_object* x_21; 
x_15 = lean_ctor_get(x_14, 0);
lean_inc(x_15);
x_16 = lean_ctor_get(x_14, 1);
lean_inc(x_16);
lean_dec(x_14);
x_17 = lean_ctor_get(x_15, 0);
lean_inc(x_17);
x_18 = lean_ctor_get(x_15, 1);
lean_inc(x_18);
lean_dec(x_15);
x_19 = 1;
x_20 = lean_usize_add(x_4, x_19);
x_21 = lean_array_uset(x_13, x_4, x_17);
x_4 = x_20;
x_5 = x_21;
x_6 = x_18;
x_7 = x_16;
goto _start;
}
else
{
uint8_t x_23; 
lean_dec(x_13);
lean_dec(x_2);
lean_dec(x_1);
x_23 = !lean_is_exclusive(x_14);
if (x_23 == 0)
{
return x_14;
}
else
{
lean_object* x_24; lean_object* x_25; lean_object* x_26; 
x_24 = lean_ctor_get(x_14, 0);
x_25 = lean_ctor_get(x_14, 1);
lean_inc(x_25);
lean_inc(x_24);
lean_dec(x_14);
x_26 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_26, 0, x_24);
lean_ctor_set(x_26, 1, x_25);
return x_26;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___spec__4(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
uint8_t x_8; 
x_8 = lean_usize_dec_lt(x_4, x_3);
if (x_8 == 0)
{
lean_object* x_9; lean_object* x_10; 
lean_dec(x_2);
lean_dec(x_1);
x_9 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_9, 0, x_5);
lean_ctor_set(x_9, 1, x_6);
x_10 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_10, 0, x_9);
lean_ctor_set(x_10, 1, x_7);
return x_10;
}
else
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; 
x_11 = lean_array_uget(x_5, x_4);
x_12 = lean_unsigned_to_nat(0u);
x_13 = lean_array_uset(x_5, x_4, x_12);
lean_inc(x_2);
lean_inc(x_1);
x_14 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go(x_1, x_2, x_11, x_6, x_7);
if (lean_obj_tag(x_14) == 0)
{
lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; size_t x_19; size_t x_20; lean_object* x_21; 
x_15 = lean_ctor_get(x_14, 0);
lean_inc(x_15);
x_16 = lean_ctor_get(x_14, 1);
lean_inc(x_16);
lean_dec(x_14);
x_17 = lean_ctor_get(x_15, 0);
lean_inc(x_17);
x_18 = lean_ctor_get(x_15, 1);
lean_inc(x_18);
lean_dec(x_15);
x_19 = 1;
x_20 = lean_usize_add(x_4, x_19);
x_21 = lean_array_uset(x_13, x_4, x_17);
x_4 = x_20;
x_5 = x_21;
x_6 = x_18;
x_7 = x_16;
goto _start;
}
else
{
uint8_t x_23; 
lean_dec(x_13);
lean_dec(x_2);
lean_dec(x_1);
x_23 = !lean_is_exclusive(x_14);
if (x_23 == 0)
{
return x_14;
}
else
{
lean_object* x_24; lean_object* x_25; lean_object* x_26; 
x_24 = lean_ctor_get(x_14, 0);
x_25 = lean_ctor_get(x_14, 1);
lean_inc(x_25);
lean_inc(x_24);
lean_dec(x_14);
x_26 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_26, 0, x_24);
lean_ctor_set(x_26, 1, x_25);
return x_26;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___spec__5(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) {
_start:
{
uint8_t x_6; 
x_6 = lean_usize_dec_lt(x_4, x_3);
if (x_6 == 0)
{
lean_dec(x_2);
lean_dec(x_1);
return x_5;
}
else
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; size_t x_12; size_t x_13; lean_object* x_14; 
x_7 = lean_array_uget(x_5, x_4);
x_8 = lean_unsigned_to_nat(0u);
x_9 = lean_array_uset(x_5, x_4, x_8);
lean_inc(x_2);
x_10 = lean_alloc_ctor(3, 2, 0);
lean_ctor_set(x_10, 0, x_2);
lean_ctor_set(x_10, 1, x_7);
lean_inc(x_1);
x_11 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_11, 0, x_1);
lean_ctor_set(x_11, 1, x_10);
x_12 = 1;
x_13 = lean_usize_add(x_4, x_12);
x_14 = lean_array_uset(x_9, x_4, x_11);
x_4 = x_13;
x_5 = x_14;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Option_get_x3f___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___spec__6(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; 
x_3 = lean_ctor_get(x_2, 0);
x_4 = l_Lean_KVMap_findCore(x_1, x_3);
if (lean_obj_tag(x_4) == 0)
{
lean_object* x_5; 
x_5 = lean_box(0);
return x_5;
}
else
{
uint8_t x_6; 
x_6 = !lean_is_exclusive(x_4);
if (x_6 == 0)
{
lean_object* x_7; 
x_7 = lean_ctor_get(x_4, 0);
if (lean_obj_tag(x_7) == 3)
{
lean_object* x_8; 
x_8 = lean_ctor_get(x_7, 0);
lean_inc(x_8);
lean_dec(x_7);
lean_ctor_set(x_4, 0, x_8);
return x_4;
}
else
{
lean_object* x_9; 
lean_free_object(x_4);
lean_dec(x_7);
x_9 = lean_box(0);
return x_9;
}
}
else
{
lean_object* x_10; 
x_10 = lean_ctor_get(x_4, 0);
lean_inc(x_10);
lean_dec(x_4);
if (lean_obj_tag(x_10) == 3)
{
lean_object* x_11; lean_object* x_12; 
x_11 = lean_ctor_get(x_10, 0);
lean_inc(x_11);
lean_dec(x_10);
x_12 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_12, 0, x_11);
return x_12;
}
else
{
lean_object* x_13; 
lean_dec(x_10);
x_13 = lean_box(0);
return x_13;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___spec__7(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
uint8_t x_8; 
x_8 = lean_usize_dec_lt(x_4, x_3);
if (x_8 == 0)
{
lean_object* x_9; lean_object* x_10; 
lean_dec(x_2);
lean_dec(x_1);
x_9 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_9, 0, x_5);
lean_ctor_set(x_9, 1, x_6);
x_10 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_10, 0, x_9);
lean_ctor_set(x_10, 1, x_7);
return x_10;
}
else
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; 
x_11 = lean_array_uget(x_5, x_4);
x_12 = lean_unsigned_to_nat(0u);
x_13 = lean_array_uset(x_5, x_4, x_12);
lean_inc(x_2);
lean_inc(x_1);
x_14 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go(x_1, x_2, x_11, x_6, x_7);
if (lean_obj_tag(x_14) == 0)
{
lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; size_t x_19; size_t x_20; lean_object* x_21; 
x_15 = lean_ctor_get(x_14, 0);
lean_inc(x_15);
x_16 = lean_ctor_get(x_14, 1);
lean_inc(x_16);
lean_dec(x_14);
x_17 = lean_ctor_get(x_15, 0);
lean_inc(x_17);
x_18 = lean_ctor_get(x_15, 1);
lean_inc(x_18);
lean_dec(x_15);
x_19 = 1;
x_20 = lean_usize_add(x_4, x_19);
x_21 = lean_array_uset(x_13, x_4, x_17);
x_4 = x_20;
x_5 = x_21;
x_6 = x_18;
x_7 = x_16;
goto _start;
}
else
{
uint8_t x_23; 
lean_dec(x_13);
lean_dec(x_2);
lean_dec(x_1);
x_23 = !lean_is_exclusive(x_14);
if (x_23 == 0)
{
return x_14;
}
else
{
lean_object* x_24; lean_object* x_25; lean_object* x_26; 
x_24 = lean_ctor_get(x_14, 0);
x_25 = lean_ctor_get(x_14, 1);
lean_inc(x_25);
lean_inc(x_24);
lean_dec(x_14);
x_26 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_26, 0, x_24);
lean_ctor_set(x_26, 1, x_25);
return x_26;
}
}
}
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; uint8_t x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; 
x_6 = lean_ctor_get(x_1, 0);
x_7 = lean_ctor_get_uint8(x_1, sizeof(void*)*2 + 16);
lean_inc(x_6);
x_8 = lean_alloc_ctor(3, 3, 1);
lean_ctor_set(x_8, 0, x_6);
lean_ctor_set(x_8, 1, x_2);
lean_ctor_set(x_8, 2, x_3);
lean_ctor_set_uint8(x_8, sizeof(void*)*3, x_7);
x_9 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_pushEmbed(x_8, x_4, x_5);
x_10 = !lean_is_exclusive(x_9);
if (x_10 == 0)
{
lean_object* x_11; uint8_t x_12; 
x_11 = lean_ctor_get(x_9, 0);
x_12 = !lean_is_exclusive(x_11);
if (x_12 == 0)
{
lean_object* x_13; lean_object* x_14; lean_object* x_15; 
x_13 = lean_ctor_get(x_11, 0);
x_14 = lean_box(0);
x_15 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_15, 0, x_13);
lean_ctor_set(x_15, 1, x_14);
lean_ctor_set(x_11, 0, x_15);
return x_9;
}
else
{
lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; 
x_16 = lean_ctor_get(x_11, 0);
x_17 = lean_ctor_get(x_11, 1);
lean_inc(x_17);
lean_inc(x_16);
lean_dec(x_11);
x_18 = lean_box(0);
x_19 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_19, 0, x_16);
lean_ctor_set(x_19, 1, x_18);
x_20 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_20, 0, x_19);
lean_ctor_set(x_20, 1, x_17);
lean_ctor_set(x_9, 0, x_20);
return x_9;
}
}
else
{
lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; 
x_21 = lean_ctor_get(x_9, 0);
x_22 = lean_ctor_get(x_9, 1);
lean_inc(x_22);
lean_inc(x_21);
lean_dec(x_9);
x_23 = lean_ctor_get(x_21, 0);
lean_inc(x_23);
x_24 = lean_ctor_get(x_21, 1);
lean_inc(x_24);
if (lean_is_exclusive(x_21)) {
 lean_ctor_release(x_21, 0);
 lean_ctor_release(x_21, 1);
 x_25 = x_21;
} else {
 lean_dec_ref(x_21);
 x_25 = lean_box(0);
}
x_26 = lean_box(0);
x_27 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_27, 0, x_23);
lean_ctor_set(x_27, 1, x_26);
if (lean_is_scalar(x_25)) {
 x_28 = lean_alloc_ctor(0, 2, 0);
} else {
 x_28 = x_25;
}
lean_ctor_set(x_28, 0, x_27);
lean_ctor_set(x_28, 1, x_24);
x_29 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_29, 0, x_28);
lean_ctor_set(x_29, 1, x_22);
return x_29;
}
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
uint8_t x_9; 
x_9 = lean_ctor_get_uint8(x_1, sizeof(void*)*2 + 16);
if (x_9 == 0)
{
lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; 
x_10 = lean_array_get_size(x_2);
x_11 = lean_usize_of_nat(x_10);
lean_dec(x_10);
x_12 = 0;
x_13 = l_Array_mapMUnsafe_map___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___spec__1(x_3, x_4, x_11, x_12, x_2, x_7, x_8);
if (lean_obj_tag(x_13) == 0)
{
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; 
x_14 = lean_ctor_get(x_13, 0);
lean_inc(x_14);
x_15 = lean_ctor_get(x_13, 1);
lean_inc(x_15);
lean_dec(x_13);
x_16 = lean_ctor_get(x_14, 0);
lean_inc(x_16);
x_17 = lean_ctor_get(x_14, 1);
lean_inc(x_17);
lean_dec(x_14);
x_18 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_18, 0, x_16);
x_19 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___lambda__1(x_1, x_5, x_18, x_17, x_15);
lean_dec(x_1);
return x_19;
}
else
{
uint8_t x_20; 
lean_dec(x_5);
lean_dec(x_1);
x_20 = !lean_is_exclusive(x_13);
if (x_20 == 0)
{
return x_13;
}
else
{
lean_object* x_21; lean_object* x_22; lean_object* x_23; 
x_21 = lean_ctor_get(x_13, 0);
x_22 = lean_ctor_get(x_13, 1);
lean_inc(x_22);
lean_inc(x_21);
lean_dec(x_13);
x_23 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_23, 0, x_21);
lean_ctor_set(x_23, 1, x_22);
return x_23;
}
}
}
else
{
lean_object* x_24; uint8_t x_25; 
x_24 = lean_ctor_get(x_1, 0);
lean_inc(x_24);
x_25 = l_Array_isEmpty___rarg(x_2);
if (x_25 == 0)
{
lean_object* x_26; size_t x_27; size_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; 
lean_dec(x_4);
x_26 = lean_array_get_size(x_2);
x_27 = lean_usize_of_nat(x_26);
lean_dec(x_26);
x_28 = 0;
x_29 = l_Array_mapMUnsafe_map___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___spec__2(x_3, x_27, x_28, x_2);
x_30 = l_Lean_Widget_infoview_maxTraceChildren;
x_31 = lean_ctor_get(x_30, 1);
lean_inc(x_31);
x_32 = lean_array_get_size(x_29);
x_33 = lean_unsigned_to_nat(0u);
x_34 = l_Array_toSubarray___rarg(x_29, x_33, x_32);
x_35 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_chopUpChildren(x_24, x_31, x_34);
lean_dec(x_34);
x_36 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_36, 0, x_35);
x_37 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___lambda__1(x_1, x_5, x_36, x_7, x_8);
lean_dec(x_1);
return x_37;
}
else
{
lean_object* x_38; size_t x_39; size_t x_40; lean_object* x_41; 
lean_dec(x_24);
x_38 = lean_array_get_size(x_2);
x_39 = lean_usize_of_nat(x_38);
lean_dec(x_38);
x_40 = 0;
x_41 = l_Array_mapMUnsafe_map___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___spec__3(x_3, x_4, x_39, x_40, x_2, x_7, x_8);
if (lean_obj_tag(x_41) == 0)
{
lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; 
x_42 = lean_ctor_get(x_41, 0);
lean_inc(x_42);
x_43 = lean_ctor_get(x_41, 1);
lean_inc(x_43);
lean_dec(x_41);
x_44 = lean_ctor_get(x_42, 0);
lean_inc(x_44);
x_45 = lean_ctor_get(x_42, 1);
lean_inc(x_45);
lean_dec(x_42);
x_46 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_46, 0, x_44);
x_47 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___lambda__1(x_1, x_5, x_46, x_45, x_43);
lean_dec(x_1);
return x_47;
}
else
{
uint8_t x_48; 
lean_dec(x_5);
lean_dec(x_1);
x_48 = !lean_is_exclusive(x_41);
if (x_48 == 0)
{
return x_41;
}
else
{
lean_object* x_49; lean_object* x_50; lean_object* x_51; 
x_49 = lean_ctor_get(x_41, 0);
x_50 = lean_ctor_get(x_41, 1);
lean_inc(x_50);
lean_inc(x_49);
lean_dec(x_41);
x_51 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_51, 0, x_49);
lean_ctor_set(x_51, 1, x_50);
return x_51;
}
}
}
}
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___lambda__3___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Widget_infoview_maxTraceChildren;
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
_start:
{
uint8_t x_10; 
x_10 = lean_ctor_get_uint8(x_1, sizeof(void*)*2 + 16);
if (x_10 == 0)
{
lean_object* x_11; size_t x_12; size_t x_13; lean_object* x_14; 
lean_dec(x_5);
x_11 = lean_array_get_size(x_2);
x_12 = lean_usize_of_nat(x_11);
lean_dec(x_11);
x_13 = 0;
x_14 = l_Array_mapMUnsafe_map___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___spec__4(x_3, x_4, x_12, x_13, x_2, x_8, x_9);
if (lean_obj_tag(x_14) == 0)
{
lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; 
x_15 = lean_ctor_get(x_14, 0);
lean_inc(x_15);
x_16 = lean_ctor_get(x_14, 1);
lean_inc(x_16);
lean_dec(x_14);
x_17 = lean_ctor_get(x_15, 0);
lean_inc(x_17);
x_18 = lean_ctor_get(x_15, 1);
lean_inc(x_18);
lean_dec(x_15);
x_19 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_19, 0, x_17);
x_20 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___lambda__1(x_1, x_6, x_19, x_18, x_16);
lean_dec(x_1);
return x_20;
}
else
{
uint8_t x_21; 
lean_dec(x_6);
lean_dec(x_1);
x_21 = !lean_is_exclusive(x_14);
if (x_21 == 0)
{
return x_14;
}
else
{
lean_object* x_22; lean_object* x_23; lean_object* x_24; 
x_22 = lean_ctor_get(x_14, 0);
x_23 = lean_ctor_get(x_14, 1);
lean_inc(x_23);
lean_inc(x_22);
lean_dec(x_14);
x_24 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_24, 0, x_22);
lean_ctor_set(x_24, 1, x_23);
return x_24;
}
}
}
else
{
lean_object* x_25; uint8_t x_26; 
x_25 = lean_ctor_get(x_1, 0);
lean_inc(x_25);
x_26 = l_Array_isEmpty___rarg(x_2);
if (x_26 == 0)
{
lean_object* x_27; size_t x_28; size_t x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; 
lean_dec(x_4);
x_27 = lean_array_get_size(x_2);
x_28 = lean_usize_of_nat(x_27);
lean_dec(x_27);
x_29 = 0;
lean_inc(x_5);
x_30 = l_Array_mapMUnsafe_map___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___spec__5(x_3, x_5, x_28, x_29, x_2);
x_31 = lean_ctor_get(x_5, 3);
lean_inc(x_31);
lean_dec(x_5);
x_32 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___lambda__3___closed__1;
x_33 = l_Lean_Option_get_x3f___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___spec__6(x_31, x_32);
lean_dec(x_31);
x_34 = lean_array_get_size(x_30);
x_35 = lean_unsigned_to_nat(0u);
x_36 = l_Array_toSubarray___rarg(x_30, x_35, x_34);
if (lean_obj_tag(x_33) == 0)
{
lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; 
x_37 = l_Lean_Widget_infoview_maxTraceChildren;
x_38 = lean_ctor_get(x_37, 1);
lean_inc(x_38);
x_39 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_chopUpChildren(x_25, x_38, x_36);
lean_dec(x_36);
x_40 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_40, 0, x_39);
x_41 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___lambda__1(x_1, x_6, x_40, x_8, x_9);
lean_dec(x_1);
return x_41;
}
else
{
uint8_t x_42; 
x_42 = !lean_is_exclusive(x_33);
if (x_42 == 0)
{
lean_object* x_43; lean_object* x_44; lean_object* x_45; 
x_43 = lean_ctor_get(x_33, 0);
x_44 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_chopUpChildren(x_25, x_43, x_36);
lean_dec(x_36);
lean_ctor_set(x_33, 0, x_44);
x_45 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___lambda__1(x_1, x_6, x_33, x_8, x_9);
lean_dec(x_1);
return x_45;
}
else
{
lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; 
x_46 = lean_ctor_get(x_33, 0);
lean_inc(x_46);
lean_dec(x_33);
x_47 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_chopUpChildren(x_25, x_46, x_36);
lean_dec(x_36);
x_48 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_48, 0, x_47);
x_49 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___lambda__1(x_1, x_6, x_48, x_8, x_9);
lean_dec(x_1);
return x_49;
}
}
}
else
{
lean_object* x_50; size_t x_51; size_t x_52; lean_object* x_53; 
lean_dec(x_25);
lean_dec(x_5);
x_50 = lean_array_get_size(x_2);
x_51 = lean_usize_of_nat(x_50);
lean_dec(x_50);
x_52 = 0;
x_53 = l_Array_mapMUnsafe_map___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___spec__7(x_3, x_4, x_51, x_52, x_2, x_8, x_9);
if (lean_obj_tag(x_53) == 0)
{
lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; 
x_54 = lean_ctor_get(x_53, 0);
lean_inc(x_54);
x_55 = lean_ctor_get(x_53, 1);
lean_inc(x_55);
lean_dec(x_53);
x_56 = lean_ctor_get(x_54, 0);
lean_inc(x_56);
x_57 = lean_ctor_get(x_54, 1);
lean_inc(x_57);
lean_dec(x_54);
x_58 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_58, 0, x_56);
x_59 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___lambda__1(x_1, x_6, x_58, x_57, x_55);
lean_dec(x_1);
return x_59;
}
else
{
uint8_t x_60; 
lean_dec(x_6);
lean_dec(x_1);
x_60 = !lean_is_exclusive(x_53);
if (x_60 == 0)
{
return x_53;
}
else
{
lean_object* x_61; lean_object* x_62; lean_object* x_63; 
x_61 = lean_ctor_get(x_53, 0);
x_62 = lean_ctor_get(x_53, 1);
lean_inc(x_62);
lean_inc(x_61);
lean_dec(x_53);
x_63 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_63, 0, x_61);
lean_ctor_set(x_63, 1, x_62);
return x_63;
}
}
}
}
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("goal ", 5, 5);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__1;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(4u);
x_2 = lean_nat_to_int(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("[", 1, 1);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__4;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("] ", 2, 2);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__6;
x_2 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__8() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("MessageData.ofLazy: expected MessageData in Dynamic", 51, 51);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__8;
x_2 = lean_alloc_ctor(18, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
if (lean_obj_tag(x_2) == 0)
{
switch (lean_obj_tag(x_3)) {
case 0:
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; 
lean_dec(x_1);
x_6 = lean_ctor_get(x_3, 0);
lean_inc(x_6);
lean_dec(x_3);
x_7 = lean_ctor_get(x_6, 0);
lean_inc(x_7);
lean_dec(x_6);
x_8 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_withIgnoreTags(x_7, x_4, x_5);
return x_8;
}
case 1:
{
uint8_t x_9; 
lean_dec(x_1);
x_9 = !lean_is_exclusive(x_3);
if (x_9 == 0)
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; 
x_10 = lean_ctor_get(x_3, 0);
x_11 = l_Lean_Expr_mvar___override(x_10);
x_12 = lean_expr_dbg_to_string(x_11);
lean_dec(x_11);
lean_ctor_set_tag(x_3, 3);
lean_ctor_set(x_3, 0, x_12);
x_13 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__2;
x_14 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_14, 0, x_13);
lean_ctor_set(x_14, 1, x_3);
x_15 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_15, 0, x_14);
lean_ctor_set(x_15, 1, x_4);
x_16 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_16, 0, x_15);
lean_ctor_set(x_16, 1, x_5);
return x_16;
}
else
{
lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; 
x_17 = lean_ctor_get(x_3, 0);
lean_inc(x_17);
lean_dec(x_3);
x_18 = l_Lean_Expr_mvar___override(x_17);
x_19 = lean_expr_dbg_to_string(x_18);
lean_dec(x_18);
x_20 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_20, 0, x_19);
x_21 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__2;
x_22 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_22, 0, x_21);
lean_ctor_set(x_22, 1, x_20);
x_23 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_23, 0, x_22);
lean_ctor_set(x_23, 1, x_4);
x_24 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_24, 0, x_23);
lean_ctor_set(x_24, 1, x_5);
return x_24;
}
}
case 2:
{
uint8_t x_25; 
x_25 = !lean_is_exclusive(x_3);
if (x_25 == 0)
{
lean_object* x_26; lean_object* x_27; lean_object* x_28; 
x_26 = lean_ctor_get(x_3, 0);
x_27 = lean_ctor_get(x_3, 1);
x_28 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go(x_1, x_2, x_27, x_4, x_5);
if (lean_obj_tag(x_28) == 0)
{
lean_object* x_29; lean_object* x_30; uint8_t x_31; 
x_29 = lean_ctor_get(x_28, 0);
lean_inc(x_29);
x_30 = lean_ctor_get(x_28, 1);
lean_inc(x_30);
lean_dec(x_28);
x_31 = !lean_is_exclusive(x_29);
if (x_31 == 0)
{
lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; 
x_32 = lean_ctor_get(x_29, 0);
x_33 = lean_ctor_get(x_29, 1);
lean_ctor_set_tag(x_29, 2);
lean_ctor_set(x_29, 1, x_32);
lean_ctor_set(x_29, 0, x_26);
x_34 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_pushEmbed(x_29, x_33, x_30);
x_35 = !lean_is_exclusive(x_34);
if (x_35 == 0)
{
lean_object* x_36; uint8_t x_37; 
x_36 = lean_ctor_get(x_34, 0);
x_37 = !lean_is_exclusive(x_36);
if (x_37 == 0)
{
lean_object* x_38; lean_object* x_39; 
x_38 = lean_ctor_get(x_36, 0);
x_39 = lean_box(0);
lean_ctor_set_tag(x_3, 7);
lean_ctor_set(x_3, 1, x_39);
lean_ctor_set(x_3, 0, x_38);
lean_ctor_set(x_36, 0, x_3);
return x_34;
}
else
{
lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; 
x_40 = lean_ctor_get(x_36, 0);
x_41 = lean_ctor_get(x_36, 1);
lean_inc(x_41);
lean_inc(x_40);
lean_dec(x_36);
x_42 = lean_box(0);
lean_ctor_set_tag(x_3, 7);
lean_ctor_set(x_3, 1, x_42);
lean_ctor_set(x_3, 0, x_40);
x_43 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_43, 0, x_3);
lean_ctor_set(x_43, 1, x_41);
lean_ctor_set(x_34, 0, x_43);
return x_34;
}
}
else
{
lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; 
x_44 = lean_ctor_get(x_34, 0);
x_45 = lean_ctor_get(x_34, 1);
lean_inc(x_45);
lean_inc(x_44);
lean_dec(x_34);
x_46 = lean_ctor_get(x_44, 0);
lean_inc(x_46);
x_47 = lean_ctor_get(x_44, 1);
lean_inc(x_47);
if (lean_is_exclusive(x_44)) {
 lean_ctor_release(x_44, 0);
 lean_ctor_release(x_44, 1);
 x_48 = x_44;
} else {
 lean_dec_ref(x_44);
 x_48 = lean_box(0);
}
x_49 = lean_box(0);
lean_ctor_set_tag(x_3, 7);
lean_ctor_set(x_3, 1, x_49);
lean_ctor_set(x_3, 0, x_46);
if (lean_is_scalar(x_48)) {
 x_50 = lean_alloc_ctor(0, 2, 0);
} else {
 x_50 = x_48;
}
lean_ctor_set(x_50, 0, x_3);
lean_ctor_set(x_50, 1, x_47);
x_51 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_51, 0, x_50);
lean_ctor_set(x_51, 1, x_45);
return x_51;
}
}
else
{
lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; 
x_52 = lean_ctor_get(x_29, 0);
x_53 = lean_ctor_get(x_29, 1);
lean_inc(x_53);
lean_inc(x_52);
lean_dec(x_29);
x_54 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_54, 0, x_26);
lean_ctor_set(x_54, 1, x_52);
x_55 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_pushEmbed(x_54, x_53, x_30);
x_56 = lean_ctor_get(x_55, 0);
lean_inc(x_56);
x_57 = lean_ctor_get(x_55, 1);
lean_inc(x_57);
if (lean_is_exclusive(x_55)) {
 lean_ctor_release(x_55, 0);
 lean_ctor_release(x_55, 1);
 x_58 = x_55;
} else {
 lean_dec_ref(x_55);
 x_58 = lean_box(0);
}
x_59 = lean_ctor_get(x_56, 0);
lean_inc(x_59);
x_60 = lean_ctor_get(x_56, 1);
lean_inc(x_60);
if (lean_is_exclusive(x_56)) {
 lean_ctor_release(x_56, 0);
 lean_ctor_release(x_56, 1);
 x_61 = x_56;
} else {
 lean_dec_ref(x_56);
 x_61 = lean_box(0);
}
x_62 = lean_box(0);
lean_ctor_set_tag(x_3, 7);
lean_ctor_set(x_3, 1, x_62);
lean_ctor_set(x_3, 0, x_59);
if (lean_is_scalar(x_61)) {
 x_63 = lean_alloc_ctor(0, 2, 0);
} else {
 x_63 = x_61;
}
lean_ctor_set(x_63, 0, x_3);
lean_ctor_set(x_63, 1, x_60);
if (lean_is_scalar(x_58)) {
 x_64 = lean_alloc_ctor(0, 2, 0);
} else {
 x_64 = x_58;
}
lean_ctor_set(x_64, 0, x_63);
lean_ctor_set(x_64, 1, x_57);
return x_64;
}
}
else
{
uint8_t x_65; 
lean_free_object(x_3);
lean_dec(x_26);
x_65 = !lean_is_exclusive(x_28);
if (x_65 == 0)
{
return x_28;
}
else
{
lean_object* x_66; lean_object* x_67; lean_object* x_68; 
x_66 = lean_ctor_get(x_28, 0);
x_67 = lean_ctor_get(x_28, 1);
lean_inc(x_67);
lean_inc(x_66);
lean_dec(x_28);
x_68 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_68, 0, x_66);
lean_ctor_set(x_68, 1, x_67);
return x_68;
}
}
}
else
{
lean_object* x_69; lean_object* x_70; lean_object* x_71; 
x_69 = lean_ctor_get(x_3, 0);
x_70 = lean_ctor_get(x_3, 1);
lean_inc(x_70);
lean_inc(x_69);
lean_dec(x_3);
x_71 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go(x_1, x_2, x_70, x_4, x_5);
if (lean_obj_tag(x_71) == 0)
{
lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; 
x_72 = lean_ctor_get(x_71, 0);
lean_inc(x_72);
x_73 = lean_ctor_get(x_71, 1);
lean_inc(x_73);
lean_dec(x_71);
x_74 = lean_ctor_get(x_72, 0);
lean_inc(x_74);
x_75 = lean_ctor_get(x_72, 1);
lean_inc(x_75);
if (lean_is_exclusive(x_72)) {
 lean_ctor_release(x_72, 0);
 lean_ctor_release(x_72, 1);
 x_76 = x_72;
} else {
 lean_dec_ref(x_72);
 x_76 = lean_box(0);
}
if (lean_is_scalar(x_76)) {
 x_77 = lean_alloc_ctor(2, 2, 0);
} else {
 x_77 = x_76;
 lean_ctor_set_tag(x_77, 2);
}
lean_ctor_set(x_77, 0, x_69);
lean_ctor_set(x_77, 1, x_74);
x_78 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_pushEmbed(x_77, x_75, x_73);
x_79 = lean_ctor_get(x_78, 0);
lean_inc(x_79);
x_80 = lean_ctor_get(x_78, 1);
lean_inc(x_80);
if (lean_is_exclusive(x_78)) {
 lean_ctor_release(x_78, 0);
 lean_ctor_release(x_78, 1);
 x_81 = x_78;
} else {
 lean_dec_ref(x_78);
 x_81 = lean_box(0);
}
x_82 = lean_ctor_get(x_79, 0);
lean_inc(x_82);
x_83 = lean_ctor_get(x_79, 1);
lean_inc(x_83);
if (lean_is_exclusive(x_79)) {
 lean_ctor_release(x_79, 0);
 lean_ctor_release(x_79, 1);
 x_84 = x_79;
} else {
 lean_dec_ref(x_79);
 x_84 = lean_box(0);
}
x_85 = lean_box(0);
x_86 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_86, 0, x_82);
lean_ctor_set(x_86, 1, x_85);
if (lean_is_scalar(x_84)) {
 x_87 = lean_alloc_ctor(0, 2, 0);
} else {
 x_87 = x_84;
}
lean_ctor_set(x_87, 0, x_86);
lean_ctor_set(x_87, 1, x_83);
if (lean_is_scalar(x_81)) {
 x_88 = lean_alloc_ctor(0, 2, 0);
} else {
 x_88 = x_81;
}
lean_ctor_set(x_88, 0, x_87);
lean_ctor_set(x_88, 1, x_80);
return x_88;
}
else
{
lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; 
lean_dec(x_69);
x_89 = lean_ctor_get(x_71, 0);
lean_inc(x_89);
x_90 = lean_ctor_get(x_71, 1);
lean_inc(x_90);
if (lean_is_exclusive(x_71)) {
 lean_ctor_release(x_71, 0);
 lean_ctor_release(x_71, 1);
 x_91 = x_71;
} else {
 lean_dec_ref(x_71);
 x_91 = lean_box(0);
}
if (lean_is_scalar(x_91)) {
 x_92 = lean_alloc_ctor(1, 2, 0);
} else {
 x_92 = x_91;
}
lean_ctor_set(x_92, 0, x_89);
lean_ctor_set(x_92, 1, x_90);
return x_92;
}
}
}
case 3:
{
lean_object* x_93; lean_object* x_94; lean_object* x_95; 
x_93 = lean_ctor_get(x_3, 0);
lean_inc(x_93);
x_94 = lean_ctor_get(x_3, 1);
lean_inc(x_94);
lean_dec(x_3);
x_95 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_95, 0, x_93);
x_2 = x_95;
x_3 = x_94;
goto _start;
}
case 4:
{
lean_object* x_97; lean_object* x_98; 
lean_dec(x_1);
x_97 = lean_ctor_get(x_3, 0);
lean_inc(x_97);
x_98 = lean_ctor_get(x_3, 1);
lean_inc(x_98);
lean_dec(x_3);
x_1 = x_97;
x_3 = x_98;
goto _start;
}
case 5:
{
uint8_t x_100; 
x_100 = !lean_is_exclusive(x_3);
if (x_100 == 0)
{
lean_object* x_101; lean_object* x_102; lean_object* x_103; 
x_101 = lean_ctor_get(x_3, 0);
x_102 = lean_ctor_get(x_3, 1);
x_103 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go(x_1, x_2, x_102, x_4, x_5);
if (lean_obj_tag(x_103) == 0)
{
uint8_t x_104; 
x_104 = !lean_is_exclusive(x_103);
if (x_104 == 0)
{
lean_object* x_105; uint8_t x_106; 
x_105 = lean_ctor_get(x_103, 0);
x_106 = !lean_is_exclusive(x_105);
if (x_106 == 0)
{
lean_object* x_107; lean_object* x_108; 
x_107 = lean_ctor_get(x_105, 0);
x_108 = lean_nat_to_int(x_101);
lean_ctor_set_tag(x_3, 4);
lean_ctor_set(x_3, 1, x_107);
lean_ctor_set(x_3, 0, x_108);
lean_ctor_set(x_105, 0, x_3);
return x_103;
}
else
{
lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; 
x_109 = lean_ctor_get(x_105, 0);
x_110 = lean_ctor_get(x_105, 1);
lean_inc(x_110);
lean_inc(x_109);
lean_dec(x_105);
x_111 = lean_nat_to_int(x_101);
lean_ctor_set_tag(x_3, 4);
lean_ctor_set(x_3, 1, x_109);
lean_ctor_set(x_3, 0, x_111);
x_112 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_112, 0, x_3);
lean_ctor_set(x_112, 1, x_110);
lean_ctor_set(x_103, 0, x_112);
return x_103;
}
}
else
{
lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; 
x_113 = lean_ctor_get(x_103, 0);
x_114 = lean_ctor_get(x_103, 1);
lean_inc(x_114);
lean_inc(x_113);
lean_dec(x_103);
x_115 = lean_ctor_get(x_113, 0);
lean_inc(x_115);
x_116 = lean_ctor_get(x_113, 1);
lean_inc(x_116);
if (lean_is_exclusive(x_113)) {
 lean_ctor_release(x_113, 0);
 lean_ctor_release(x_113, 1);
 x_117 = x_113;
} else {
 lean_dec_ref(x_113);
 x_117 = lean_box(0);
}
x_118 = lean_nat_to_int(x_101);
lean_ctor_set_tag(x_3, 4);
lean_ctor_set(x_3, 1, x_115);
lean_ctor_set(x_3, 0, x_118);
if (lean_is_scalar(x_117)) {
 x_119 = lean_alloc_ctor(0, 2, 0);
} else {
 x_119 = x_117;
}
lean_ctor_set(x_119, 0, x_3);
lean_ctor_set(x_119, 1, x_116);
x_120 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_120, 0, x_119);
lean_ctor_set(x_120, 1, x_114);
return x_120;
}
}
else
{
uint8_t x_121; 
lean_free_object(x_3);
lean_dec(x_101);
x_121 = !lean_is_exclusive(x_103);
if (x_121 == 0)
{
return x_103;
}
else
{
lean_object* x_122; lean_object* x_123; lean_object* x_124; 
x_122 = lean_ctor_get(x_103, 0);
x_123 = lean_ctor_get(x_103, 1);
lean_inc(x_123);
lean_inc(x_122);
lean_dec(x_103);
x_124 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_124, 0, x_122);
lean_ctor_set(x_124, 1, x_123);
return x_124;
}
}
}
else
{
lean_object* x_125; lean_object* x_126; lean_object* x_127; 
x_125 = lean_ctor_get(x_3, 0);
x_126 = lean_ctor_get(x_3, 1);
lean_inc(x_126);
lean_inc(x_125);
lean_dec(x_3);
x_127 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go(x_1, x_2, x_126, x_4, x_5);
if (lean_obj_tag(x_127) == 0)
{
lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; 
x_128 = lean_ctor_get(x_127, 0);
lean_inc(x_128);
x_129 = lean_ctor_get(x_127, 1);
lean_inc(x_129);
if (lean_is_exclusive(x_127)) {
 lean_ctor_release(x_127, 0);
 lean_ctor_release(x_127, 1);
 x_130 = x_127;
} else {
 lean_dec_ref(x_127);
 x_130 = lean_box(0);
}
x_131 = lean_ctor_get(x_128, 0);
lean_inc(x_131);
x_132 = lean_ctor_get(x_128, 1);
lean_inc(x_132);
if (lean_is_exclusive(x_128)) {
 lean_ctor_release(x_128, 0);
 lean_ctor_release(x_128, 1);
 x_133 = x_128;
} else {
 lean_dec_ref(x_128);
 x_133 = lean_box(0);
}
x_134 = lean_nat_to_int(x_125);
x_135 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_135, 0, x_134);
lean_ctor_set(x_135, 1, x_131);
if (lean_is_scalar(x_133)) {
 x_136 = lean_alloc_ctor(0, 2, 0);
} else {
 x_136 = x_133;
}
lean_ctor_set(x_136, 0, x_135);
lean_ctor_set(x_136, 1, x_132);
if (lean_is_scalar(x_130)) {
 x_137 = lean_alloc_ctor(0, 2, 0);
} else {
 x_137 = x_130;
}
lean_ctor_set(x_137, 0, x_136);
lean_ctor_set(x_137, 1, x_129);
return x_137;
}
else
{
lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; 
lean_dec(x_125);
x_138 = lean_ctor_get(x_127, 0);
lean_inc(x_138);
x_139 = lean_ctor_get(x_127, 1);
lean_inc(x_139);
if (lean_is_exclusive(x_127)) {
 lean_ctor_release(x_127, 0);
 lean_ctor_release(x_127, 1);
 x_140 = x_127;
} else {
 lean_dec_ref(x_127);
 x_140 = lean_box(0);
}
if (lean_is_scalar(x_140)) {
 x_141 = lean_alloc_ctor(1, 2, 0);
} else {
 x_141 = x_140;
}
lean_ctor_set(x_141, 0, x_138);
lean_ctor_set(x_141, 1, x_139);
return x_141;
}
}
}
case 6:
{
lean_object* x_142; lean_object* x_143; 
x_142 = lean_ctor_get(x_3, 0);
lean_inc(x_142);
lean_dec(x_3);
x_143 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go(x_1, x_2, x_142, x_4, x_5);
if (lean_obj_tag(x_143) == 0)
{
uint8_t x_144; 
x_144 = !lean_is_exclusive(x_143);
if (x_144 == 0)
{
lean_object* x_145; uint8_t x_146; 
x_145 = lean_ctor_get(x_143, 0);
x_146 = !lean_is_exclusive(x_145);
if (x_146 == 0)
{
lean_object* x_147; uint8_t x_148; lean_object* x_149; 
x_147 = lean_ctor_get(x_145, 0);
x_148 = 0;
x_149 = lean_alloc_ctor(6, 1, 1);
lean_ctor_set(x_149, 0, x_147);
lean_ctor_set_uint8(x_149, sizeof(void*)*1, x_148);
lean_ctor_set(x_145, 0, x_149);
return x_143;
}
else
{
lean_object* x_150; lean_object* x_151; uint8_t x_152; lean_object* x_153; lean_object* x_154; 
x_150 = lean_ctor_get(x_145, 0);
x_151 = lean_ctor_get(x_145, 1);
lean_inc(x_151);
lean_inc(x_150);
lean_dec(x_145);
x_152 = 0;
x_153 = lean_alloc_ctor(6, 1, 1);
lean_ctor_set(x_153, 0, x_150);
lean_ctor_set_uint8(x_153, sizeof(void*)*1, x_152);
x_154 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_154, 0, x_153);
lean_ctor_set(x_154, 1, x_151);
lean_ctor_set(x_143, 0, x_154);
return x_143;
}
}
else
{
lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; uint8_t x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; 
x_155 = lean_ctor_get(x_143, 0);
x_156 = lean_ctor_get(x_143, 1);
lean_inc(x_156);
lean_inc(x_155);
lean_dec(x_143);
x_157 = lean_ctor_get(x_155, 0);
lean_inc(x_157);
x_158 = lean_ctor_get(x_155, 1);
lean_inc(x_158);
if (lean_is_exclusive(x_155)) {
 lean_ctor_release(x_155, 0);
 lean_ctor_release(x_155, 1);
 x_159 = x_155;
} else {
 lean_dec_ref(x_155);
 x_159 = lean_box(0);
}
x_160 = 0;
x_161 = lean_alloc_ctor(6, 1, 1);
lean_ctor_set(x_161, 0, x_157);
lean_ctor_set_uint8(x_161, sizeof(void*)*1, x_160);
if (lean_is_scalar(x_159)) {
 x_162 = lean_alloc_ctor(0, 2, 0);
} else {
 x_162 = x_159;
}
lean_ctor_set(x_162, 0, x_161);
lean_ctor_set(x_162, 1, x_158);
x_163 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_163, 0, x_162);
lean_ctor_set(x_163, 1, x_156);
return x_163;
}
}
else
{
uint8_t x_164; 
x_164 = !lean_is_exclusive(x_143);
if (x_164 == 0)
{
return x_143;
}
else
{
lean_object* x_165; lean_object* x_166; lean_object* x_167; 
x_165 = lean_ctor_get(x_143, 0);
x_166 = lean_ctor_get(x_143, 1);
lean_inc(x_166);
lean_inc(x_165);
lean_dec(x_143);
x_167 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_167, 0, x_165);
lean_ctor_set(x_167, 1, x_166);
return x_167;
}
}
}
case 7:
{
lean_object* x_168; lean_object* x_169; lean_object* x_170; 
x_168 = lean_ctor_get(x_3, 0);
lean_inc(x_168);
x_169 = lean_ctor_get(x_3, 1);
lean_inc(x_169);
lean_dec(x_3);
lean_inc(x_1);
x_170 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go(x_1, x_2, x_168, x_4, x_5);
if (lean_obj_tag(x_170) == 0)
{
lean_object* x_171; lean_object* x_172; uint8_t x_173; 
x_171 = lean_ctor_get(x_170, 0);
lean_inc(x_171);
x_172 = lean_ctor_get(x_170, 1);
lean_inc(x_172);
lean_dec(x_170);
x_173 = !lean_is_exclusive(x_171);
if (x_173 == 0)
{
lean_object* x_174; lean_object* x_175; lean_object* x_176; 
x_174 = lean_ctor_get(x_171, 0);
x_175 = lean_ctor_get(x_171, 1);
x_176 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go(x_1, x_2, x_169, x_175, x_172);
if (lean_obj_tag(x_176) == 0)
{
uint8_t x_177; 
x_177 = !lean_is_exclusive(x_176);
if (x_177 == 0)
{
lean_object* x_178; uint8_t x_179; 
x_178 = lean_ctor_get(x_176, 0);
x_179 = !lean_is_exclusive(x_178);
if (x_179 == 0)
{
lean_object* x_180; 
x_180 = lean_ctor_get(x_178, 0);
lean_ctor_set_tag(x_171, 5);
lean_ctor_set(x_171, 1, x_180);
lean_ctor_set(x_178, 0, x_171);
return x_176;
}
else
{
lean_object* x_181; lean_object* x_182; lean_object* x_183; 
x_181 = lean_ctor_get(x_178, 0);
x_182 = lean_ctor_get(x_178, 1);
lean_inc(x_182);
lean_inc(x_181);
lean_dec(x_178);
lean_ctor_set_tag(x_171, 5);
lean_ctor_set(x_171, 1, x_181);
x_183 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_183, 0, x_171);
lean_ctor_set(x_183, 1, x_182);
lean_ctor_set(x_176, 0, x_183);
return x_176;
}
}
else
{
lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; 
x_184 = lean_ctor_get(x_176, 0);
x_185 = lean_ctor_get(x_176, 1);
lean_inc(x_185);
lean_inc(x_184);
lean_dec(x_176);
x_186 = lean_ctor_get(x_184, 0);
lean_inc(x_186);
x_187 = lean_ctor_get(x_184, 1);
lean_inc(x_187);
if (lean_is_exclusive(x_184)) {
 lean_ctor_release(x_184, 0);
 lean_ctor_release(x_184, 1);
 x_188 = x_184;
} else {
 lean_dec_ref(x_184);
 x_188 = lean_box(0);
}
lean_ctor_set_tag(x_171, 5);
lean_ctor_set(x_171, 1, x_186);
if (lean_is_scalar(x_188)) {
 x_189 = lean_alloc_ctor(0, 2, 0);
} else {
 x_189 = x_188;
}
lean_ctor_set(x_189, 0, x_171);
lean_ctor_set(x_189, 1, x_187);
x_190 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_190, 0, x_189);
lean_ctor_set(x_190, 1, x_185);
return x_190;
}
}
else
{
uint8_t x_191; 
lean_free_object(x_171);
lean_dec(x_174);
x_191 = !lean_is_exclusive(x_176);
if (x_191 == 0)
{
return x_176;
}
else
{
lean_object* x_192; lean_object* x_193; lean_object* x_194; 
x_192 = lean_ctor_get(x_176, 0);
x_193 = lean_ctor_get(x_176, 1);
lean_inc(x_193);
lean_inc(x_192);
lean_dec(x_176);
x_194 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_194, 0, x_192);
lean_ctor_set(x_194, 1, x_193);
return x_194;
}
}
}
else
{
lean_object* x_195; lean_object* x_196; lean_object* x_197; 
x_195 = lean_ctor_get(x_171, 0);
x_196 = lean_ctor_get(x_171, 1);
lean_inc(x_196);
lean_inc(x_195);
lean_dec(x_171);
x_197 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go(x_1, x_2, x_169, x_196, x_172);
if (lean_obj_tag(x_197) == 0)
{
lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; 
x_198 = lean_ctor_get(x_197, 0);
lean_inc(x_198);
x_199 = lean_ctor_get(x_197, 1);
lean_inc(x_199);
if (lean_is_exclusive(x_197)) {
 lean_ctor_release(x_197, 0);
 lean_ctor_release(x_197, 1);
 x_200 = x_197;
} else {
 lean_dec_ref(x_197);
 x_200 = lean_box(0);
}
x_201 = lean_ctor_get(x_198, 0);
lean_inc(x_201);
x_202 = lean_ctor_get(x_198, 1);
lean_inc(x_202);
if (lean_is_exclusive(x_198)) {
 lean_ctor_release(x_198, 0);
 lean_ctor_release(x_198, 1);
 x_203 = x_198;
} else {
 lean_dec_ref(x_198);
 x_203 = lean_box(0);
}
x_204 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_204, 0, x_195);
lean_ctor_set(x_204, 1, x_201);
if (lean_is_scalar(x_203)) {
 x_205 = lean_alloc_ctor(0, 2, 0);
} else {
 x_205 = x_203;
}
lean_ctor_set(x_205, 0, x_204);
lean_ctor_set(x_205, 1, x_202);
if (lean_is_scalar(x_200)) {
 x_206 = lean_alloc_ctor(0, 2, 0);
} else {
 x_206 = x_200;
}
lean_ctor_set(x_206, 0, x_205);
lean_ctor_set(x_206, 1, x_199);
return x_206;
}
else
{
lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; 
lean_dec(x_195);
x_207 = lean_ctor_get(x_197, 0);
lean_inc(x_207);
x_208 = lean_ctor_get(x_197, 1);
lean_inc(x_208);
if (lean_is_exclusive(x_197)) {
 lean_ctor_release(x_197, 0);
 lean_ctor_release(x_197, 1);
 x_209 = x_197;
} else {
 lean_dec_ref(x_197);
 x_209 = lean_box(0);
}
if (lean_is_scalar(x_209)) {
 x_210 = lean_alloc_ctor(1, 2, 0);
} else {
 x_210 = x_209;
}
lean_ctor_set(x_210, 0, x_207);
lean_ctor_set(x_210, 1, x_208);
return x_210;
}
}
}
else
{
uint8_t x_211; 
lean_dec(x_169);
lean_dec(x_1);
x_211 = !lean_is_exclusive(x_170);
if (x_211 == 0)
{
return x_170;
}
else
{
lean_object* x_212; lean_object* x_213; lean_object* x_214; 
x_212 = lean_ctor_get(x_170, 0);
x_213 = lean_ctor_get(x_170, 1);
lean_inc(x_213);
lean_inc(x_212);
lean_dec(x_170);
x_214 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_214, 0, x_212);
lean_ctor_set(x_214, 1, x_213);
return x_214;
}
}
}
case 8:
{
lean_object* x_215; 
x_215 = lean_ctor_get(x_3, 1);
lean_inc(x_215);
lean_dec(x_3);
x_3 = x_215;
goto _start;
}
case 9:
{
lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; 
x_217 = lean_ctor_get(x_3, 0);
lean_inc(x_217);
x_218 = lean_ctor_get(x_3, 1);
lean_inc(x_218);
x_219 = lean_ctor_get(x_3, 2);
lean_inc(x_219);
lean_dec(x_3);
lean_inc(x_1);
x_220 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go(x_1, x_2, x_218, x_4, x_5);
if (lean_obj_tag(x_220) == 0)
{
lean_object* x_221; lean_object* x_222; uint8_t x_223; 
x_221 = lean_ctor_get(x_220, 0);
lean_inc(x_221);
x_222 = lean_ctor_get(x_220, 1);
lean_inc(x_222);
lean_dec(x_220);
x_223 = !lean_is_exclusive(x_221);
if (x_223 == 0)
{
lean_object* x_224; lean_object* x_225; lean_object* x_226; double x_227; double x_228; double x_229; uint8_t x_230; 
x_224 = lean_ctor_get(x_221, 0);
x_225 = lean_ctor_get(x_221, 1);
x_226 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__3;
lean_ctor_set_tag(x_221, 4);
lean_ctor_set(x_221, 1, x_224);
lean_ctor_set(x_221, 0, x_226);
x_227 = lean_ctor_get_float(x_217, sizeof(void*)*2);
x_228 = lean_ctor_get_float(x_217, sizeof(void*)*2 + 8);
x_229 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_chopUpChildren___closed__1;
x_230 = lean_float_beq(x_227, x_229);
if (x_230 == 0)
{
double x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; 
x_231 = lean_float_sub(x_228, x_227);
x_232 = lean_float_to_string(x_231);
x_233 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_233, 0, x_232);
x_234 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__5;
x_235 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_235, 0, x_234);
lean_ctor_set(x_235, 1, x_233);
x_236 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__7;
x_237 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_237, 0, x_235);
lean_ctor_set(x_237, 1, x_236);
x_238 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_238, 0, x_237);
lean_ctor_set(x_238, 1, x_221);
x_239 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_chopUpChildren___closed__2;
x_240 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_240, 0, x_238);
lean_ctor_set(x_240, 1, x_239);
x_241 = lean_box(0);
x_242 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___lambda__2(x_217, x_219, x_1, x_2, x_240, x_241, x_225, x_222);
return x_242;
}
else
{
lean_object* x_243; lean_object* x_244; 
x_243 = lean_box(0);
x_244 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___lambda__2(x_217, x_219, x_1, x_2, x_221, x_243, x_225, x_222);
return x_244;
}
}
else
{
lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; double x_249; double x_250; double x_251; uint8_t x_252; 
x_245 = lean_ctor_get(x_221, 0);
x_246 = lean_ctor_get(x_221, 1);
lean_inc(x_246);
lean_inc(x_245);
lean_dec(x_221);
x_247 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__3;
x_248 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_248, 0, x_247);
lean_ctor_set(x_248, 1, x_245);
x_249 = lean_ctor_get_float(x_217, sizeof(void*)*2);
x_250 = lean_ctor_get_float(x_217, sizeof(void*)*2 + 8);
x_251 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_chopUpChildren___closed__1;
x_252 = lean_float_beq(x_249, x_251);
if (x_252 == 0)
{
double x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; 
x_253 = lean_float_sub(x_250, x_249);
x_254 = lean_float_to_string(x_253);
x_255 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_255, 0, x_254);
x_256 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__5;
x_257 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_257, 0, x_256);
lean_ctor_set(x_257, 1, x_255);
x_258 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__7;
x_259 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_259, 0, x_257);
lean_ctor_set(x_259, 1, x_258);
x_260 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_260, 0, x_259);
lean_ctor_set(x_260, 1, x_248);
x_261 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_chopUpChildren___closed__2;
x_262 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_262, 0, x_260);
lean_ctor_set(x_262, 1, x_261);
x_263 = lean_box(0);
x_264 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___lambda__2(x_217, x_219, x_1, x_2, x_262, x_263, x_246, x_222);
return x_264;
}
else
{
lean_object* x_265; lean_object* x_266; 
x_265 = lean_box(0);
x_266 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___lambda__2(x_217, x_219, x_1, x_2, x_248, x_265, x_246, x_222);
return x_266;
}
}
}
else
{
uint8_t x_267; 
lean_dec(x_219);
lean_dec(x_217);
lean_dec(x_1);
x_267 = !lean_is_exclusive(x_220);
if (x_267 == 0)
{
return x_220;
}
else
{
lean_object* x_268; lean_object* x_269; lean_object* x_270; 
x_268 = lean_ctor_get(x_220, 0);
x_269 = lean_ctor_get(x_220, 1);
lean_inc(x_269);
lean_inc(x_268);
lean_dec(x_220);
x_270 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_270, 0, x_268);
lean_ctor_set(x_270, 1, x_269);
return x_270;
}
}
}
default: 
{
lean_object* x_271; lean_object* x_272; lean_object* x_273; 
x_271 = lean_ctor_get(x_3, 0);
lean_inc(x_271);
lean_dec(x_3);
x_272 = lean_box(0);
x_273 = lean_apply_2(x_271, x_272, x_5);
if (lean_obj_tag(x_273) == 0)
{
uint8_t x_274; 
x_274 = !lean_is_exclusive(x_273);
if (x_274 == 0)
{
lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; 
x_275 = lean_ctor_get(x_273, 0);
x_276 = lean_ctor_get(x_273, 1);
x_277 = l_Lean_Widget_instTypeNameMessageData;
x_278 = l___private_Init_Dynamic_0__Dynamic_get_x3fImpl___rarg(x_275, x_277);
lean_dec(x_275);
if (lean_obj_tag(x_278) == 0)
{
lean_object* x_279; 
lean_dec(x_4);
lean_dec(x_1);
x_279 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__9;
lean_ctor_set_tag(x_273, 1);
lean_ctor_set(x_273, 0, x_279);
return x_273;
}
else
{
lean_object* x_280; 
lean_free_object(x_273);
x_280 = lean_ctor_get(x_278, 0);
lean_inc(x_280);
lean_dec(x_278);
x_3 = x_280;
x_5 = x_276;
goto _start;
}
}
else
{
lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; 
x_282 = lean_ctor_get(x_273, 0);
x_283 = lean_ctor_get(x_273, 1);
lean_inc(x_283);
lean_inc(x_282);
lean_dec(x_273);
x_284 = l_Lean_Widget_instTypeNameMessageData;
x_285 = l___private_Init_Dynamic_0__Dynamic_get_x3fImpl___rarg(x_282, x_284);
lean_dec(x_282);
if (lean_obj_tag(x_285) == 0)
{
lean_object* x_286; lean_object* x_287; 
lean_dec(x_4);
lean_dec(x_1);
x_286 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__9;
x_287 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_287, 0, x_286);
lean_ctor_set(x_287, 1, x_283);
return x_287;
}
else
{
lean_object* x_288; 
x_288 = lean_ctor_get(x_285, 0);
lean_inc(x_288);
lean_dec(x_285);
x_3 = x_288;
x_5 = x_283;
goto _start;
}
}
}
else
{
uint8_t x_290; 
lean_dec(x_4);
lean_dec(x_1);
x_290 = !lean_is_exclusive(x_273);
if (x_290 == 0)
{
return x_273;
}
else
{
lean_object* x_291; lean_object* x_292; lean_object* x_293; 
x_291 = lean_ctor_get(x_273, 0);
x_292 = lean_ctor_get(x_273, 1);
lean_inc(x_292);
lean_inc(x_291);
lean_dec(x_273);
x_293 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_293, 0, x_291);
lean_ctor_set(x_293, 1, x_292);
return x_293;
}
}
}
}
}
else
{
switch (lean_obj_tag(x_3)) {
case 0:
{
lean_object* x_294; lean_object* x_295; uint8_t x_296; 
x_294 = lean_ctor_get(x_3, 0);
lean_inc(x_294);
lean_dec(x_3);
x_295 = lean_ctor_get(x_2, 0);
lean_inc(x_295);
lean_dec(x_2);
x_296 = !lean_is_exclusive(x_294);
if (x_296 == 0)
{
lean_object* x_297; lean_object* x_298; lean_object* x_299; uint8_t x_300; 
x_297 = lean_ctor_get(x_294, 0);
x_298 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_mkContextInfo(x_1, x_295);
lean_dec(x_295);
lean_dec(x_1);
lean_ctor_set(x_294, 0, x_298);
x_299 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_pushEmbed(x_294, x_4, x_5);
x_300 = !lean_is_exclusive(x_299);
if (x_300 == 0)
{
lean_object* x_301; uint8_t x_302; 
x_301 = lean_ctor_get(x_299, 0);
x_302 = !lean_is_exclusive(x_301);
if (x_302 == 0)
{
lean_object* x_303; lean_object* x_304; 
x_303 = lean_ctor_get(x_301, 0);
x_304 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_304, 0, x_303);
lean_ctor_set(x_304, 1, x_297);
lean_ctor_set(x_301, 0, x_304);
return x_299;
}
else
{
lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; 
x_305 = lean_ctor_get(x_301, 0);
x_306 = lean_ctor_get(x_301, 1);
lean_inc(x_306);
lean_inc(x_305);
lean_dec(x_301);
x_307 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_307, 0, x_305);
lean_ctor_set(x_307, 1, x_297);
x_308 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_308, 0, x_307);
lean_ctor_set(x_308, 1, x_306);
lean_ctor_set(x_299, 0, x_308);
return x_299;
}
}
else
{
lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; 
x_309 = lean_ctor_get(x_299, 0);
x_310 = lean_ctor_get(x_299, 1);
lean_inc(x_310);
lean_inc(x_309);
lean_dec(x_299);
x_311 = lean_ctor_get(x_309, 0);
lean_inc(x_311);
x_312 = lean_ctor_get(x_309, 1);
lean_inc(x_312);
if (lean_is_exclusive(x_309)) {
 lean_ctor_release(x_309, 0);
 lean_ctor_release(x_309, 1);
 x_313 = x_309;
} else {
 lean_dec_ref(x_309);
 x_313 = lean_box(0);
}
x_314 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_314, 0, x_311);
lean_ctor_set(x_314, 1, x_297);
if (lean_is_scalar(x_313)) {
 x_315 = lean_alloc_ctor(0, 2, 0);
} else {
 x_315 = x_313;
}
lean_ctor_set(x_315, 0, x_314);
lean_ctor_set(x_315, 1, x_312);
x_316 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_316, 0, x_315);
lean_ctor_set(x_316, 1, x_310);
return x_316;
}
}
else
{
lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; 
x_317 = lean_ctor_get(x_294, 0);
x_318 = lean_ctor_get(x_294, 1);
lean_inc(x_318);
lean_inc(x_317);
lean_dec(x_294);
x_319 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_mkContextInfo(x_1, x_295);
lean_dec(x_295);
lean_dec(x_1);
x_320 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_320, 0, x_319);
lean_ctor_set(x_320, 1, x_318);
x_321 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_pushEmbed(x_320, x_4, x_5);
x_322 = lean_ctor_get(x_321, 0);
lean_inc(x_322);
x_323 = lean_ctor_get(x_321, 1);
lean_inc(x_323);
if (lean_is_exclusive(x_321)) {
 lean_ctor_release(x_321, 0);
 lean_ctor_release(x_321, 1);
 x_324 = x_321;
} else {
 lean_dec_ref(x_321);
 x_324 = lean_box(0);
}
x_325 = lean_ctor_get(x_322, 0);
lean_inc(x_325);
x_326 = lean_ctor_get(x_322, 1);
lean_inc(x_326);
if (lean_is_exclusive(x_322)) {
 lean_ctor_release(x_322, 0);
 lean_ctor_release(x_322, 1);
 x_327 = x_322;
} else {
 lean_dec_ref(x_322);
 x_327 = lean_box(0);
}
x_328 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_328, 0, x_325);
lean_ctor_set(x_328, 1, x_317);
if (lean_is_scalar(x_327)) {
 x_329 = lean_alloc_ctor(0, 2, 0);
} else {
 x_329 = x_327;
}
lean_ctor_set(x_329, 0, x_328);
lean_ctor_set(x_329, 1, x_326);
if (lean_is_scalar(x_324)) {
 x_330 = lean_alloc_ctor(0, 2, 0);
} else {
 x_330 = x_324;
}
lean_ctor_set(x_330, 0, x_329);
lean_ctor_set(x_330, 1, x_323);
return x_330;
}
}
case 1:
{
lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; uint8_t x_337; 
x_331 = lean_ctor_get(x_2, 0);
lean_inc(x_331);
lean_dec(x_2);
x_332 = lean_ctor_get(x_3, 0);
lean_inc(x_332);
lean_dec(x_3);
x_333 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_mkContextInfo(x_1, x_331);
lean_dec(x_1);
x_334 = lean_ctor_get(x_331, 2);
lean_inc(x_334);
lean_dec(x_331);
x_335 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_335, 0, x_333);
lean_ctor_set(x_335, 1, x_334);
lean_ctor_set(x_335, 2, x_332);
x_336 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_pushEmbed(x_335, x_4, x_5);
x_337 = !lean_is_exclusive(x_336);
if (x_337 == 0)
{
lean_object* x_338; uint8_t x_339; 
x_338 = lean_ctor_get(x_336, 0);
x_339 = !lean_is_exclusive(x_338);
if (x_339 == 0)
{
lean_object* x_340; lean_object* x_341; lean_object* x_342; 
x_340 = lean_ctor_get(x_338, 0);
x_341 = lean_box(0);
x_342 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_342, 0, x_340);
lean_ctor_set(x_342, 1, x_341);
lean_ctor_set(x_338, 0, x_342);
return x_336;
}
else
{
lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; 
x_343 = lean_ctor_get(x_338, 0);
x_344 = lean_ctor_get(x_338, 1);
lean_inc(x_344);
lean_inc(x_343);
lean_dec(x_338);
x_345 = lean_box(0);
x_346 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_346, 0, x_343);
lean_ctor_set(x_346, 1, x_345);
x_347 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_347, 0, x_346);
lean_ctor_set(x_347, 1, x_344);
lean_ctor_set(x_336, 0, x_347);
return x_336;
}
}
else
{
lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; 
x_348 = lean_ctor_get(x_336, 0);
x_349 = lean_ctor_get(x_336, 1);
lean_inc(x_349);
lean_inc(x_348);
lean_dec(x_336);
x_350 = lean_ctor_get(x_348, 0);
lean_inc(x_350);
x_351 = lean_ctor_get(x_348, 1);
lean_inc(x_351);
if (lean_is_exclusive(x_348)) {
 lean_ctor_release(x_348, 0);
 lean_ctor_release(x_348, 1);
 x_352 = x_348;
} else {
 lean_dec_ref(x_348);
 x_352 = lean_box(0);
}
x_353 = lean_box(0);
x_354 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_354, 0, x_350);
lean_ctor_set(x_354, 1, x_353);
if (lean_is_scalar(x_352)) {
 x_355 = lean_alloc_ctor(0, 2, 0);
} else {
 x_355 = x_352;
}
lean_ctor_set(x_355, 0, x_354);
lean_ctor_set(x_355, 1, x_351);
x_356 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_356, 0, x_355);
lean_ctor_set(x_356, 1, x_349);
return x_356;
}
}
case 2:
{
uint8_t x_357; 
x_357 = !lean_is_exclusive(x_3);
if (x_357 == 0)
{
lean_object* x_358; lean_object* x_359; lean_object* x_360; 
x_358 = lean_ctor_get(x_3, 0);
x_359 = lean_ctor_get(x_3, 1);
x_360 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go(x_1, x_2, x_359, x_4, x_5);
if (lean_obj_tag(x_360) == 0)
{
lean_object* x_361; lean_object* x_362; uint8_t x_363; 
x_361 = lean_ctor_get(x_360, 0);
lean_inc(x_361);
x_362 = lean_ctor_get(x_360, 1);
lean_inc(x_362);
lean_dec(x_360);
x_363 = !lean_is_exclusive(x_361);
if (x_363 == 0)
{
lean_object* x_364; lean_object* x_365; lean_object* x_366; uint8_t x_367; 
x_364 = lean_ctor_get(x_361, 0);
x_365 = lean_ctor_get(x_361, 1);
lean_ctor_set_tag(x_361, 2);
lean_ctor_set(x_361, 1, x_364);
lean_ctor_set(x_361, 0, x_358);
x_366 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_pushEmbed(x_361, x_365, x_362);
x_367 = !lean_is_exclusive(x_366);
if (x_367 == 0)
{
lean_object* x_368; uint8_t x_369; 
x_368 = lean_ctor_get(x_366, 0);
x_369 = !lean_is_exclusive(x_368);
if (x_369 == 0)
{
lean_object* x_370; lean_object* x_371; 
x_370 = lean_ctor_get(x_368, 0);
x_371 = lean_box(0);
lean_ctor_set_tag(x_3, 7);
lean_ctor_set(x_3, 1, x_371);
lean_ctor_set(x_3, 0, x_370);
lean_ctor_set(x_368, 0, x_3);
return x_366;
}
else
{
lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; 
x_372 = lean_ctor_get(x_368, 0);
x_373 = lean_ctor_get(x_368, 1);
lean_inc(x_373);
lean_inc(x_372);
lean_dec(x_368);
x_374 = lean_box(0);
lean_ctor_set_tag(x_3, 7);
lean_ctor_set(x_3, 1, x_374);
lean_ctor_set(x_3, 0, x_372);
x_375 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_375, 0, x_3);
lean_ctor_set(x_375, 1, x_373);
lean_ctor_set(x_366, 0, x_375);
return x_366;
}
}
else
{
lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; 
x_376 = lean_ctor_get(x_366, 0);
x_377 = lean_ctor_get(x_366, 1);
lean_inc(x_377);
lean_inc(x_376);
lean_dec(x_366);
x_378 = lean_ctor_get(x_376, 0);
lean_inc(x_378);
x_379 = lean_ctor_get(x_376, 1);
lean_inc(x_379);
if (lean_is_exclusive(x_376)) {
 lean_ctor_release(x_376, 0);
 lean_ctor_release(x_376, 1);
 x_380 = x_376;
} else {
 lean_dec_ref(x_376);
 x_380 = lean_box(0);
}
x_381 = lean_box(0);
lean_ctor_set_tag(x_3, 7);
lean_ctor_set(x_3, 1, x_381);
lean_ctor_set(x_3, 0, x_378);
if (lean_is_scalar(x_380)) {
 x_382 = lean_alloc_ctor(0, 2, 0);
} else {
 x_382 = x_380;
}
lean_ctor_set(x_382, 0, x_3);
lean_ctor_set(x_382, 1, x_379);
x_383 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_383, 0, x_382);
lean_ctor_set(x_383, 1, x_377);
return x_383;
}
}
else
{
lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; 
x_384 = lean_ctor_get(x_361, 0);
x_385 = lean_ctor_get(x_361, 1);
lean_inc(x_385);
lean_inc(x_384);
lean_dec(x_361);
x_386 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_386, 0, x_358);
lean_ctor_set(x_386, 1, x_384);
x_387 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_pushEmbed(x_386, x_385, x_362);
x_388 = lean_ctor_get(x_387, 0);
lean_inc(x_388);
x_389 = lean_ctor_get(x_387, 1);
lean_inc(x_389);
if (lean_is_exclusive(x_387)) {
 lean_ctor_release(x_387, 0);
 lean_ctor_release(x_387, 1);
 x_390 = x_387;
} else {
 lean_dec_ref(x_387);
 x_390 = lean_box(0);
}
x_391 = lean_ctor_get(x_388, 0);
lean_inc(x_391);
x_392 = lean_ctor_get(x_388, 1);
lean_inc(x_392);
if (lean_is_exclusive(x_388)) {
 lean_ctor_release(x_388, 0);
 lean_ctor_release(x_388, 1);
 x_393 = x_388;
} else {
 lean_dec_ref(x_388);
 x_393 = lean_box(0);
}
x_394 = lean_box(0);
lean_ctor_set_tag(x_3, 7);
lean_ctor_set(x_3, 1, x_394);
lean_ctor_set(x_3, 0, x_391);
if (lean_is_scalar(x_393)) {
 x_395 = lean_alloc_ctor(0, 2, 0);
} else {
 x_395 = x_393;
}
lean_ctor_set(x_395, 0, x_3);
lean_ctor_set(x_395, 1, x_392);
if (lean_is_scalar(x_390)) {
 x_396 = lean_alloc_ctor(0, 2, 0);
} else {
 x_396 = x_390;
}
lean_ctor_set(x_396, 0, x_395);
lean_ctor_set(x_396, 1, x_389);
return x_396;
}
}
else
{
uint8_t x_397; 
lean_free_object(x_3);
lean_dec(x_358);
x_397 = !lean_is_exclusive(x_360);
if (x_397 == 0)
{
return x_360;
}
else
{
lean_object* x_398; lean_object* x_399; lean_object* x_400; 
x_398 = lean_ctor_get(x_360, 0);
x_399 = lean_ctor_get(x_360, 1);
lean_inc(x_399);
lean_inc(x_398);
lean_dec(x_360);
x_400 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_400, 0, x_398);
lean_ctor_set(x_400, 1, x_399);
return x_400;
}
}
}
else
{
lean_object* x_401; lean_object* x_402; lean_object* x_403; 
x_401 = lean_ctor_get(x_3, 0);
x_402 = lean_ctor_get(x_3, 1);
lean_inc(x_402);
lean_inc(x_401);
lean_dec(x_3);
x_403 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go(x_1, x_2, x_402, x_4, x_5);
if (lean_obj_tag(x_403) == 0)
{
lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; 
x_404 = lean_ctor_get(x_403, 0);
lean_inc(x_404);
x_405 = lean_ctor_get(x_403, 1);
lean_inc(x_405);
lean_dec(x_403);
x_406 = lean_ctor_get(x_404, 0);
lean_inc(x_406);
x_407 = lean_ctor_get(x_404, 1);
lean_inc(x_407);
if (lean_is_exclusive(x_404)) {
 lean_ctor_release(x_404, 0);
 lean_ctor_release(x_404, 1);
 x_408 = x_404;
} else {
 lean_dec_ref(x_404);
 x_408 = lean_box(0);
}
if (lean_is_scalar(x_408)) {
 x_409 = lean_alloc_ctor(2, 2, 0);
} else {
 x_409 = x_408;
 lean_ctor_set_tag(x_409, 2);
}
lean_ctor_set(x_409, 0, x_401);
lean_ctor_set(x_409, 1, x_406);
x_410 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_pushEmbed(x_409, x_407, x_405);
x_411 = lean_ctor_get(x_410, 0);
lean_inc(x_411);
x_412 = lean_ctor_get(x_410, 1);
lean_inc(x_412);
if (lean_is_exclusive(x_410)) {
 lean_ctor_release(x_410, 0);
 lean_ctor_release(x_410, 1);
 x_413 = x_410;
} else {
 lean_dec_ref(x_410);
 x_413 = lean_box(0);
}
x_414 = lean_ctor_get(x_411, 0);
lean_inc(x_414);
x_415 = lean_ctor_get(x_411, 1);
lean_inc(x_415);
if (lean_is_exclusive(x_411)) {
 lean_ctor_release(x_411, 0);
 lean_ctor_release(x_411, 1);
 x_416 = x_411;
} else {
 lean_dec_ref(x_411);
 x_416 = lean_box(0);
}
x_417 = lean_box(0);
x_418 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_418, 0, x_414);
lean_ctor_set(x_418, 1, x_417);
if (lean_is_scalar(x_416)) {
 x_419 = lean_alloc_ctor(0, 2, 0);
} else {
 x_419 = x_416;
}
lean_ctor_set(x_419, 0, x_418);
lean_ctor_set(x_419, 1, x_415);
if (lean_is_scalar(x_413)) {
 x_420 = lean_alloc_ctor(0, 2, 0);
} else {
 x_420 = x_413;
}
lean_ctor_set(x_420, 0, x_419);
lean_ctor_set(x_420, 1, x_412);
return x_420;
}
else
{
lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; 
lean_dec(x_401);
x_421 = lean_ctor_get(x_403, 0);
lean_inc(x_421);
x_422 = lean_ctor_get(x_403, 1);
lean_inc(x_422);
if (lean_is_exclusive(x_403)) {
 lean_ctor_release(x_403, 0);
 lean_ctor_release(x_403, 1);
 x_423 = x_403;
} else {
 lean_dec_ref(x_403);
 x_423 = lean_box(0);
}
if (lean_is_scalar(x_423)) {
 x_424 = lean_alloc_ctor(1, 2, 0);
} else {
 x_424 = x_423;
}
lean_ctor_set(x_424, 0, x_421);
lean_ctor_set(x_424, 1, x_422);
return x_424;
}
}
}
case 3:
{
uint8_t x_425; 
x_425 = !lean_is_exclusive(x_2);
if (x_425 == 0)
{
lean_object* x_426; lean_object* x_427; lean_object* x_428; 
x_426 = lean_ctor_get(x_2, 0);
lean_dec(x_426);
x_427 = lean_ctor_get(x_3, 0);
lean_inc(x_427);
x_428 = lean_ctor_get(x_3, 1);
lean_inc(x_428);
lean_dec(x_3);
lean_ctor_set(x_2, 0, x_427);
x_3 = x_428;
goto _start;
}
else
{
lean_object* x_430; lean_object* x_431; lean_object* x_432; 
lean_dec(x_2);
x_430 = lean_ctor_get(x_3, 0);
lean_inc(x_430);
x_431 = lean_ctor_get(x_3, 1);
lean_inc(x_431);
lean_dec(x_3);
x_432 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_432, 0, x_430);
x_2 = x_432;
x_3 = x_431;
goto _start;
}
}
case 4:
{
lean_object* x_434; lean_object* x_435; 
lean_dec(x_1);
x_434 = lean_ctor_get(x_3, 0);
lean_inc(x_434);
x_435 = lean_ctor_get(x_3, 1);
lean_inc(x_435);
lean_dec(x_3);
x_1 = x_434;
x_3 = x_435;
goto _start;
}
case 5:
{
uint8_t x_437; 
x_437 = !lean_is_exclusive(x_3);
if (x_437 == 0)
{
lean_object* x_438; lean_object* x_439; lean_object* x_440; 
x_438 = lean_ctor_get(x_3, 0);
x_439 = lean_ctor_get(x_3, 1);
x_440 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go(x_1, x_2, x_439, x_4, x_5);
if (lean_obj_tag(x_440) == 0)
{
uint8_t x_441; 
x_441 = !lean_is_exclusive(x_440);
if (x_441 == 0)
{
lean_object* x_442; uint8_t x_443; 
x_442 = lean_ctor_get(x_440, 0);
x_443 = !lean_is_exclusive(x_442);
if (x_443 == 0)
{
lean_object* x_444; lean_object* x_445; 
x_444 = lean_ctor_get(x_442, 0);
x_445 = lean_nat_to_int(x_438);
lean_ctor_set_tag(x_3, 4);
lean_ctor_set(x_3, 1, x_444);
lean_ctor_set(x_3, 0, x_445);
lean_ctor_set(x_442, 0, x_3);
return x_440;
}
else
{
lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; 
x_446 = lean_ctor_get(x_442, 0);
x_447 = lean_ctor_get(x_442, 1);
lean_inc(x_447);
lean_inc(x_446);
lean_dec(x_442);
x_448 = lean_nat_to_int(x_438);
lean_ctor_set_tag(x_3, 4);
lean_ctor_set(x_3, 1, x_446);
lean_ctor_set(x_3, 0, x_448);
x_449 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_449, 0, x_3);
lean_ctor_set(x_449, 1, x_447);
lean_ctor_set(x_440, 0, x_449);
return x_440;
}
}
else
{
lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; 
x_450 = lean_ctor_get(x_440, 0);
x_451 = lean_ctor_get(x_440, 1);
lean_inc(x_451);
lean_inc(x_450);
lean_dec(x_440);
x_452 = lean_ctor_get(x_450, 0);
lean_inc(x_452);
x_453 = lean_ctor_get(x_450, 1);
lean_inc(x_453);
if (lean_is_exclusive(x_450)) {
 lean_ctor_release(x_450, 0);
 lean_ctor_release(x_450, 1);
 x_454 = x_450;
} else {
 lean_dec_ref(x_450);
 x_454 = lean_box(0);
}
x_455 = lean_nat_to_int(x_438);
lean_ctor_set_tag(x_3, 4);
lean_ctor_set(x_3, 1, x_452);
lean_ctor_set(x_3, 0, x_455);
if (lean_is_scalar(x_454)) {
 x_456 = lean_alloc_ctor(0, 2, 0);
} else {
 x_456 = x_454;
}
lean_ctor_set(x_456, 0, x_3);
lean_ctor_set(x_456, 1, x_453);
x_457 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_457, 0, x_456);
lean_ctor_set(x_457, 1, x_451);
return x_457;
}
}
else
{
uint8_t x_458; 
lean_free_object(x_3);
lean_dec(x_438);
x_458 = !lean_is_exclusive(x_440);
if (x_458 == 0)
{
return x_440;
}
else
{
lean_object* x_459; lean_object* x_460; lean_object* x_461; 
x_459 = lean_ctor_get(x_440, 0);
x_460 = lean_ctor_get(x_440, 1);
lean_inc(x_460);
lean_inc(x_459);
lean_dec(x_440);
x_461 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_461, 0, x_459);
lean_ctor_set(x_461, 1, x_460);
return x_461;
}
}
}
else
{
lean_object* x_462; lean_object* x_463; lean_object* x_464; 
x_462 = lean_ctor_get(x_3, 0);
x_463 = lean_ctor_get(x_3, 1);
lean_inc(x_463);
lean_inc(x_462);
lean_dec(x_3);
x_464 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go(x_1, x_2, x_463, x_4, x_5);
if (lean_obj_tag(x_464) == 0)
{
lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; 
x_465 = lean_ctor_get(x_464, 0);
lean_inc(x_465);
x_466 = lean_ctor_get(x_464, 1);
lean_inc(x_466);
if (lean_is_exclusive(x_464)) {
 lean_ctor_release(x_464, 0);
 lean_ctor_release(x_464, 1);
 x_467 = x_464;
} else {
 lean_dec_ref(x_464);
 x_467 = lean_box(0);
}
x_468 = lean_ctor_get(x_465, 0);
lean_inc(x_468);
x_469 = lean_ctor_get(x_465, 1);
lean_inc(x_469);
if (lean_is_exclusive(x_465)) {
 lean_ctor_release(x_465, 0);
 lean_ctor_release(x_465, 1);
 x_470 = x_465;
} else {
 lean_dec_ref(x_465);
 x_470 = lean_box(0);
}
x_471 = lean_nat_to_int(x_462);
x_472 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_472, 0, x_471);
lean_ctor_set(x_472, 1, x_468);
if (lean_is_scalar(x_470)) {
 x_473 = lean_alloc_ctor(0, 2, 0);
} else {
 x_473 = x_470;
}
lean_ctor_set(x_473, 0, x_472);
lean_ctor_set(x_473, 1, x_469);
if (lean_is_scalar(x_467)) {
 x_474 = lean_alloc_ctor(0, 2, 0);
} else {
 x_474 = x_467;
}
lean_ctor_set(x_474, 0, x_473);
lean_ctor_set(x_474, 1, x_466);
return x_474;
}
else
{
lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; 
lean_dec(x_462);
x_475 = lean_ctor_get(x_464, 0);
lean_inc(x_475);
x_476 = lean_ctor_get(x_464, 1);
lean_inc(x_476);
if (lean_is_exclusive(x_464)) {
 lean_ctor_release(x_464, 0);
 lean_ctor_release(x_464, 1);
 x_477 = x_464;
} else {
 lean_dec_ref(x_464);
 x_477 = lean_box(0);
}
if (lean_is_scalar(x_477)) {
 x_478 = lean_alloc_ctor(1, 2, 0);
} else {
 x_478 = x_477;
}
lean_ctor_set(x_478, 0, x_475);
lean_ctor_set(x_478, 1, x_476);
return x_478;
}
}
}
case 6:
{
lean_object* x_479; lean_object* x_480; 
x_479 = lean_ctor_get(x_3, 0);
lean_inc(x_479);
lean_dec(x_3);
x_480 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go(x_1, x_2, x_479, x_4, x_5);
if (lean_obj_tag(x_480) == 0)
{
uint8_t x_481; 
x_481 = !lean_is_exclusive(x_480);
if (x_481 == 0)
{
lean_object* x_482; uint8_t x_483; 
x_482 = lean_ctor_get(x_480, 0);
x_483 = !lean_is_exclusive(x_482);
if (x_483 == 0)
{
lean_object* x_484; uint8_t x_485; lean_object* x_486; 
x_484 = lean_ctor_get(x_482, 0);
x_485 = 0;
x_486 = lean_alloc_ctor(6, 1, 1);
lean_ctor_set(x_486, 0, x_484);
lean_ctor_set_uint8(x_486, sizeof(void*)*1, x_485);
lean_ctor_set(x_482, 0, x_486);
return x_480;
}
else
{
lean_object* x_487; lean_object* x_488; uint8_t x_489; lean_object* x_490; lean_object* x_491; 
x_487 = lean_ctor_get(x_482, 0);
x_488 = lean_ctor_get(x_482, 1);
lean_inc(x_488);
lean_inc(x_487);
lean_dec(x_482);
x_489 = 0;
x_490 = lean_alloc_ctor(6, 1, 1);
lean_ctor_set(x_490, 0, x_487);
lean_ctor_set_uint8(x_490, sizeof(void*)*1, x_489);
x_491 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_491, 0, x_490);
lean_ctor_set(x_491, 1, x_488);
lean_ctor_set(x_480, 0, x_491);
return x_480;
}
}
else
{
lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; uint8_t x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; 
x_492 = lean_ctor_get(x_480, 0);
x_493 = lean_ctor_get(x_480, 1);
lean_inc(x_493);
lean_inc(x_492);
lean_dec(x_480);
x_494 = lean_ctor_get(x_492, 0);
lean_inc(x_494);
x_495 = lean_ctor_get(x_492, 1);
lean_inc(x_495);
if (lean_is_exclusive(x_492)) {
 lean_ctor_release(x_492, 0);
 lean_ctor_release(x_492, 1);
 x_496 = x_492;
} else {
 lean_dec_ref(x_492);
 x_496 = lean_box(0);
}
x_497 = 0;
x_498 = lean_alloc_ctor(6, 1, 1);
lean_ctor_set(x_498, 0, x_494);
lean_ctor_set_uint8(x_498, sizeof(void*)*1, x_497);
if (lean_is_scalar(x_496)) {
 x_499 = lean_alloc_ctor(0, 2, 0);
} else {
 x_499 = x_496;
}
lean_ctor_set(x_499, 0, x_498);
lean_ctor_set(x_499, 1, x_495);
x_500 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_500, 0, x_499);
lean_ctor_set(x_500, 1, x_493);
return x_500;
}
}
else
{
uint8_t x_501; 
x_501 = !lean_is_exclusive(x_480);
if (x_501 == 0)
{
return x_480;
}
else
{
lean_object* x_502; lean_object* x_503; lean_object* x_504; 
x_502 = lean_ctor_get(x_480, 0);
x_503 = lean_ctor_get(x_480, 1);
lean_inc(x_503);
lean_inc(x_502);
lean_dec(x_480);
x_504 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_504, 0, x_502);
lean_ctor_set(x_504, 1, x_503);
return x_504;
}
}
}
case 7:
{
lean_object* x_505; lean_object* x_506; lean_object* x_507; 
x_505 = lean_ctor_get(x_3, 0);
lean_inc(x_505);
x_506 = lean_ctor_get(x_3, 1);
lean_inc(x_506);
lean_dec(x_3);
lean_inc(x_2);
lean_inc(x_1);
x_507 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go(x_1, x_2, x_505, x_4, x_5);
if (lean_obj_tag(x_507) == 0)
{
lean_object* x_508; lean_object* x_509; uint8_t x_510; 
x_508 = lean_ctor_get(x_507, 0);
lean_inc(x_508);
x_509 = lean_ctor_get(x_507, 1);
lean_inc(x_509);
lean_dec(x_507);
x_510 = !lean_is_exclusive(x_508);
if (x_510 == 0)
{
lean_object* x_511; lean_object* x_512; lean_object* x_513; 
x_511 = lean_ctor_get(x_508, 0);
x_512 = lean_ctor_get(x_508, 1);
x_513 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go(x_1, x_2, x_506, x_512, x_509);
if (lean_obj_tag(x_513) == 0)
{
uint8_t x_514; 
x_514 = !lean_is_exclusive(x_513);
if (x_514 == 0)
{
lean_object* x_515; uint8_t x_516; 
x_515 = lean_ctor_get(x_513, 0);
x_516 = !lean_is_exclusive(x_515);
if (x_516 == 0)
{
lean_object* x_517; 
x_517 = lean_ctor_get(x_515, 0);
lean_ctor_set_tag(x_508, 5);
lean_ctor_set(x_508, 1, x_517);
lean_ctor_set(x_515, 0, x_508);
return x_513;
}
else
{
lean_object* x_518; lean_object* x_519; lean_object* x_520; 
x_518 = lean_ctor_get(x_515, 0);
x_519 = lean_ctor_get(x_515, 1);
lean_inc(x_519);
lean_inc(x_518);
lean_dec(x_515);
lean_ctor_set_tag(x_508, 5);
lean_ctor_set(x_508, 1, x_518);
x_520 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_520, 0, x_508);
lean_ctor_set(x_520, 1, x_519);
lean_ctor_set(x_513, 0, x_520);
return x_513;
}
}
else
{
lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; 
x_521 = lean_ctor_get(x_513, 0);
x_522 = lean_ctor_get(x_513, 1);
lean_inc(x_522);
lean_inc(x_521);
lean_dec(x_513);
x_523 = lean_ctor_get(x_521, 0);
lean_inc(x_523);
x_524 = lean_ctor_get(x_521, 1);
lean_inc(x_524);
if (lean_is_exclusive(x_521)) {
 lean_ctor_release(x_521, 0);
 lean_ctor_release(x_521, 1);
 x_525 = x_521;
} else {
 lean_dec_ref(x_521);
 x_525 = lean_box(0);
}
lean_ctor_set_tag(x_508, 5);
lean_ctor_set(x_508, 1, x_523);
if (lean_is_scalar(x_525)) {
 x_526 = lean_alloc_ctor(0, 2, 0);
} else {
 x_526 = x_525;
}
lean_ctor_set(x_526, 0, x_508);
lean_ctor_set(x_526, 1, x_524);
x_527 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_527, 0, x_526);
lean_ctor_set(x_527, 1, x_522);
return x_527;
}
}
else
{
uint8_t x_528; 
lean_free_object(x_508);
lean_dec(x_511);
x_528 = !lean_is_exclusive(x_513);
if (x_528 == 0)
{
return x_513;
}
else
{
lean_object* x_529; lean_object* x_530; lean_object* x_531; 
x_529 = lean_ctor_get(x_513, 0);
x_530 = lean_ctor_get(x_513, 1);
lean_inc(x_530);
lean_inc(x_529);
lean_dec(x_513);
x_531 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_531, 0, x_529);
lean_ctor_set(x_531, 1, x_530);
return x_531;
}
}
}
else
{
lean_object* x_532; lean_object* x_533; lean_object* x_534; 
x_532 = lean_ctor_get(x_508, 0);
x_533 = lean_ctor_get(x_508, 1);
lean_inc(x_533);
lean_inc(x_532);
lean_dec(x_508);
x_534 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go(x_1, x_2, x_506, x_533, x_509);
if (lean_obj_tag(x_534) == 0)
{
lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; 
x_535 = lean_ctor_get(x_534, 0);
lean_inc(x_535);
x_536 = lean_ctor_get(x_534, 1);
lean_inc(x_536);
if (lean_is_exclusive(x_534)) {
 lean_ctor_release(x_534, 0);
 lean_ctor_release(x_534, 1);
 x_537 = x_534;
} else {
 lean_dec_ref(x_534);
 x_537 = lean_box(0);
}
x_538 = lean_ctor_get(x_535, 0);
lean_inc(x_538);
x_539 = lean_ctor_get(x_535, 1);
lean_inc(x_539);
if (lean_is_exclusive(x_535)) {
 lean_ctor_release(x_535, 0);
 lean_ctor_release(x_535, 1);
 x_540 = x_535;
} else {
 lean_dec_ref(x_535);
 x_540 = lean_box(0);
}
x_541 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_541, 0, x_532);
lean_ctor_set(x_541, 1, x_538);
if (lean_is_scalar(x_540)) {
 x_542 = lean_alloc_ctor(0, 2, 0);
} else {
 x_542 = x_540;
}
lean_ctor_set(x_542, 0, x_541);
lean_ctor_set(x_542, 1, x_539);
if (lean_is_scalar(x_537)) {
 x_543 = lean_alloc_ctor(0, 2, 0);
} else {
 x_543 = x_537;
}
lean_ctor_set(x_543, 0, x_542);
lean_ctor_set(x_543, 1, x_536);
return x_543;
}
else
{
lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; 
lean_dec(x_532);
x_544 = lean_ctor_get(x_534, 0);
lean_inc(x_544);
x_545 = lean_ctor_get(x_534, 1);
lean_inc(x_545);
if (lean_is_exclusive(x_534)) {
 lean_ctor_release(x_534, 0);
 lean_ctor_release(x_534, 1);
 x_546 = x_534;
} else {
 lean_dec_ref(x_534);
 x_546 = lean_box(0);
}
if (lean_is_scalar(x_546)) {
 x_547 = lean_alloc_ctor(1, 2, 0);
} else {
 x_547 = x_546;
}
lean_ctor_set(x_547, 0, x_544);
lean_ctor_set(x_547, 1, x_545);
return x_547;
}
}
}
else
{
uint8_t x_548; 
lean_dec(x_506);
lean_dec(x_2);
lean_dec(x_1);
x_548 = !lean_is_exclusive(x_507);
if (x_548 == 0)
{
return x_507;
}
else
{
lean_object* x_549; lean_object* x_550; lean_object* x_551; 
x_549 = lean_ctor_get(x_507, 0);
x_550 = lean_ctor_get(x_507, 1);
lean_inc(x_550);
lean_inc(x_549);
lean_dec(x_507);
x_551 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_551, 0, x_549);
lean_ctor_set(x_551, 1, x_550);
return x_551;
}
}
}
case 8:
{
lean_object* x_552; 
x_552 = lean_ctor_get(x_3, 1);
lean_inc(x_552);
lean_dec(x_3);
x_3 = x_552;
goto _start;
}
case 9:
{
lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; 
x_554 = lean_ctor_get(x_2, 0);
lean_inc(x_554);
x_555 = lean_ctor_get(x_3, 0);
lean_inc(x_555);
x_556 = lean_ctor_get(x_3, 1);
lean_inc(x_556);
x_557 = lean_ctor_get(x_3, 2);
lean_inc(x_557);
lean_dec(x_3);
lean_inc(x_2);
lean_inc(x_1);
x_558 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go(x_1, x_2, x_556, x_4, x_5);
if (lean_obj_tag(x_558) == 0)
{
lean_object* x_559; lean_object* x_560; uint8_t x_561; 
x_559 = lean_ctor_get(x_558, 0);
lean_inc(x_559);
x_560 = lean_ctor_get(x_558, 1);
lean_inc(x_560);
lean_dec(x_558);
x_561 = !lean_is_exclusive(x_559);
if (x_561 == 0)
{
lean_object* x_562; lean_object* x_563; lean_object* x_564; double x_565; double x_566; double x_567; uint8_t x_568; 
x_562 = lean_ctor_get(x_559, 0);
x_563 = lean_ctor_get(x_559, 1);
x_564 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__3;
lean_ctor_set_tag(x_559, 4);
lean_ctor_set(x_559, 1, x_562);
lean_ctor_set(x_559, 0, x_564);
x_565 = lean_ctor_get_float(x_555, sizeof(void*)*2);
x_566 = lean_ctor_get_float(x_555, sizeof(void*)*2 + 8);
x_567 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_chopUpChildren___closed__1;
x_568 = lean_float_beq(x_565, x_567);
if (x_568 == 0)
{
double x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; 
x_569 = lean_float_sub(x_566, x_565);
x_570 = lean_float_to_string(x_569);
x_571 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_571, 0, x_570);
x_572 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__5;
x_573 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_573, 0, x_572);
lean_ctor_set(x_573, 1, x_571);
x_574 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__7;
x_575 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_575, 0, x_573);
lean_ctor_set(x_575, 1, x_574);
x_576 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_576, 0, x_575);
lean_ctor_set(x_576, 1, x_559);
x_577 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_chopUpChildren___closed__2;
x_578 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_578, 0, x_576);
lean_ctor_set(x_578, 1, x_577);
x_579 = lean_box(0);
x_580 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___lambda__3(x_555, x_557, x_1, x_2, x_554, x_578, x_579, x_563, x_560);
return x_580;
}
else
{
lean_object* x_581; lean_object* x_582; 
x_581 = lean_box(0);
x_582 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___lambda__3(x_555, x_557, x_1, x_2, x_554, x_559, x_581, x_563, x_560);
return x_582;
}
}
else
{
lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; double x_587; double x_588; double x_589; uint8_t x_590; 
x_583 = lean_ctor_get(x_559, 0);
x_584 = lean_ctor_get(x_559, 1);
lean_inc(x_584);
lean_inc(x_583);
lean_dec(x_559);
x_585 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__3;
x_586 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_586, 0, x_585);
lean_ctor_set(x_586, 1, x_583);
x_587 = lean_ctor_get_float(x_555, sizeof(void*)*2);
x_588 = lean_ctor_get_float(x_555, sizeof(void*)*2 + 8);
x_589 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_chopUpChildren___closed__1;
x_590 = lean_float_beq(x_587, x_589);
if (x_590 == 0)
{
double x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; 
x_591 = lean_float_sub(x_588, x_587);
x_592 = lean_float_to_string(x_591);
x_593 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_593, 0, x_592);
x_594 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__5;
x_595 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_595, 0, x_594);
lean_ctor_set(x_595, 1, x_593);
x_596 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__7;
x_597 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_597, 0, x_595);
lean_ctor_set(x_597, 1, x_596);
x_598 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_598, 0, x_597);
lean_ctor_set(x_598, 1, x_586);
x_599 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_chopUpChildren___closed__2;
x_600 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_600, 0, x_598);
lean_ctor_set(x_600, 1, x_599);
x_601 = lean_box(0);
x_602 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___lambda__3(x_555, x_557, x_1, x_2, x_554, x_600, x_601, x_584, x_560);
return x_602;
}
else
{
lean_object* x_603; lean_object* x_604; 
x_603 = lean_box(0);
x_604 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___lambda__3(x_555, x_557, x_1, x_2, x_554, x_586, x_603, x_584, x_560);
return x_604;
}
}
}
else
{
uint8_t x_605; 
lean_dec(x_557);
lean_dec(x_555);
lean_dec(x_554);
lean_dec(x_2);
lean_dec(x_1);
x_605 = !lean_is_exclusive(x_558);
if (x_605 == 0)
{
return x_558;
}
else
{
lean_object* x_606; lean_object* x_607; lean_object* x_608; 
x_606 = lean_ctor_get(x_558, 0);
x_607 = lean_ctor_get(x_558, 1);
lean_inc(x_607);
lean_inc(x_606);
lean_dec(x_558);
x_608 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_608, 0, x_606);
lean_ctor_set(x_608, 1, x_607);
return x_608;
}
}
}
default: 
{
lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; 
x_609 = lean_ctor_get(x_2, 0);
lean_inc(x_609);
x_610 = lean_ctor_get(x_3, 0);
lean_inc(x_610);
lean_dec(x_3);
x_611 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_mkPPContext(x_1, x_609);
lean_dec(x_609);
x_612 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_612, 0, x_611);
x_613 = lean_apply_2(x_610, x_612, x_5);
if (lean_obj_tag(x_613) == 0)
{
uint8_t x_614; 
x_614 = !lean_is_exclusive(x_613);
if (x_614 == 0)
{
lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; 
x_615 = lean_ctor_get(x_613, 0);
x_616 = lean_ctor_get(x_613, 1);
x_617 = l_Lean_Widget_instTypeNameMessageData;
x_618 = l___private_Init_Dynamic_0__Dynamic_get_x3fImpl___rarg(x_615, x_617);
lean_dec(x_615);
if (lean_obj_tag(x_618) == 0)
{
lean_object* x_619; 
lean_dec(x_4);
lean_dec(x_2);
lean_dec(x_1);
x_619 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__9;
lean_ctor_set_tag(x_613, 1);
lean_ctor_set(x_613, 0, x_619);
return x_613;
}
else
{
lean_object* x_620; 
lean_free_object(x_613);
x_620 = lean_ctor_get(x_618, 0);
lean_inc(x_620);
lean_dec(x_618);
x_3 = x_620;
x_5 = x_616;
goto _start;
}
}
else
{
lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; 
x_622 = lean_ctor_get(x_613, 0);
x_623 = lean_ctor_get(x_613, 1);
lean_inc(x_623);
lean_inc(x_622);
lean_dec(x_613);
x_624 = l_Lean_Widget_instTypeNameMessageData;
x_625 = l___private_Init_Dynamic_0__Dynamic_get_x3fImpl___rarg(x_622, x_624);
lean_dec(x_622);
if (lean_obj_tag(x_625) == 0)
{
lean_object* x_626; lean_object* x_627; 
lean_dec(x_4);
lean_dec(x_2);
lean_dec(x_1);
x_626 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__9;
x_627 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_627, 0, x_626);
lean_ctor_set(x_627, 1, x_623);
return x_627;
}
else
{
lean_object* x_628; 
x_628 = lean_ctor_get(x_625, 0);
lean_inc(x_628);
lean_dec(x_625);
x_3 = x_628;
x_5 = x_623;
goto _start;
}
}
}
else
{
uint8_t x_630; 
lean_dec(x_4);
lean_dec(x_2);
lean_dec(x_1);
x_630 = !lean_is_exclusive(x_613);
if (x_630 == 0)
{
return x_613;
}
else
{
lean_object* x_631; lean_object* x_632; lean_object* x_633; 
x_631 = lean_ctor_get(x_613, 0);
x_632 = lean_ctor_get(x_613, 1);
lean_inc(x_632);
lean_inc(x_631);
lean_dec(x_613);
x_633 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_633, 0, x_631);
lean_ctor_set(x_633, 1, x_632);
return x_633;
}
}
}
}
}
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
size_t x_8; size_t x_9; lean_object* x_10; 
x_8 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_9 = lean_unbox_usize(x_4);
lean_dec(x_4);
x_10 = l_Array_mapMUnsafe_map___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___spec__1(x_1, x_2, x_8, x_9, x_5, x_6, x_7);
return x_10;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
size_t x_5; size_t x_6; lean_object* x_7; 
x_5 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_6 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_7 = l_Array_mapMUnsafe_map___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___spec__2(x_1, x_5, x_6, x_4);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
size_t x_8; size_t x_9; lean_object* x_10; 
x_8 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_9 = lean_unbox_usize(x_4);
lean_dec(x_4);
x_10 = l_Array_mapMUnsafe_map___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___spec__3(x_1, x_2, x_8, x_9, x_5, x_6, x_7);
return x_10;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
size_t x_8; size_t x_9; lean_object* x_10; 
x_8 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_9 = lean_unbox_usize(x_4);
lean_dec(x_4);
x_10 = l_Array_mapMUnsafe_map___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___spec__4(x_1, x_2, x_8, x_9, x_5, x_6, x_7);
return x_10;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
size_t x_6; size_t x_7; lean_object* x_8; 
x_6 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_7 = lean_unbox_usize(x_4);
lean_dec(x_4);
x_8 = l_Array_mapMUnsafe_map___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___spec__5(x_1, x_2, x_6, x_7, x_5);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_Option_get_x3f___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___spec__6___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_Option_get_x3f___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___spec__6(x_1, x_2);
lean_dec(x_2);
lean_dec(x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
size_t x_8; size_t x_9; lean_object* x_10; 
x_8 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_9 = lean_unbox_usize(x_4);
lean_dec(x_4);
x_10 = l_Array_mapMUnsafe_map___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___spec__7(x_1, x_2, x_8, x_9, x_5, x_6, x_7);
return x_10;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; 
x_6 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___lambda__1(x_1, x_2, x_3, x_4, x_5);
lean_dec(x_1);
return x_6;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
lean_object* x_9; 
x_9 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8);
lean_dec(x_6);
return x_9;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
_start:
{
lean_object* x_10; 
x_10 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9);
lean_dec(x_7);
return x_10;
}
}
static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = lean_box(0);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; 
x_3 = lean_box(0);
x_4 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux___closed__1;
x_5 = l_Lean_Widget_instInhabitedEmbedFmt___closed__1;
x_6 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go(x_4, x_3, x_1, x_5, x_2);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_msgToInteractive_fmtToTT___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
uint8_t x_7; 
x_7 = lean_usize_dec_lt(x_4, x_3);
if (x_7 == 0)
{
lean_object* x_8; 
lean_dec(x_1);
x_8 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_8, 0, x_5);
lean_ctor_set(x_8, 1, x_6);
return x_8;
}
else
{
lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; 
x_9 = lean_array_uget(x_5, x_4);
x_10 = lean_unsigned_to_nat(0u);
x_11 = lean_array_uset(x_5, x_4, x_10);
x_12 = lean_unsigned_to_nat(2u);
x_13 = lean_nat_add(x_2, x_12);
lean_inc(x_1);
x_14 = l_Lean_Widget_msgToInteractive_fmtToTT(x_1, x_9, x_13, x_6);
if (lean_obj_tag(x_14) == 0)
{
lean_object* x_15; lean_object* x_16; size_t x_17; size_t x_18; lean_object* x_19; 
x_15 = lean_ctor_get(x_14, 0);
lean_inc(x_15);
x_16 = lean_ctor_get(x_14, 1);
lean_inc(x_16);
lean_dec(x_14);
x_17 = 1;
x_18 = lean_usize_add(x_4, x_17);
x_19 = lean_array_uset(x_11, x_4, x_15);
x_4 = x_18;
x_5 = x_19;
x_6 = x_16;
goto _start;
}
else
{
uint8_t x_21; 
lean_dec(x_11);
lean_dec(x_1);
x_21 = !lean_is_exclusive(x_14);
if (x_21 == 0)
{
return x_14;
}
else
{
lean_object* x_22; lean_object* x_23; lean_object* x_24; 
x_22 = lean_ctor_get(x_14, 0);
x_23 = lean_ctor_get(x_14, 1);
lean_inc(x_23);
lean_inc(x_22);
lean_dec(x_14);
x_24 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_24, 0, x_22);
lean_ctor_set(x_24, 1, x_23);
return x_24;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_msgToInteractive_fmtToTT___spec__2(size_t x_1, size_t x_2, lean_object* x_3) {
_start:
{
uint8_t x_4; 
x_4 = lean_usize_dec_lt(x_2, x_1);
if (x_4 == 0)
{
return x_3;
}
else
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; size_t x_8; size_t x_9; lean_object* x_10; 
x_5 = lean_array_uget(x_3, x_2);
x_6 = lean_unsigned_to_nat(0u);
x_7 = lean_array_uset(x_3, x_2, x_6);
x_8 = 1;
x_9 = lean_usize_add(x_2, x_8);
x_10 = lean_array_uset(x_7, x_2, x_5);
x_2 = x_9;
x_3 = x_10;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_msgToInteractive_fmtToTT___spec__4(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
uint8_t x_6; 
x_6 = lean_usize_dec_lt(x_3, x_2);
if (x_6 == 0)
{
lean_object* x_7; 
lean_dec(x_1);
x_7 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_7, 0, x_4);
lean_ctor_set(x_7, 1, x_5);
return x_7;
}
else
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; 
x_8 = lean_array_uget(x_4, x_3);
x_9 = lean_unsigned_to_nat(0u);
x_10 = lean_array_uset(x_4, x_3, x_9);
lean_inc(x_1);
x_11 = l_Lean_Widget_TaggedText_rewriteM___at_Lean_Widget_msgToInteractive_fmtToTT___spec__3(x_1, x_8, x_5);
if (lean_obj_tag(x_11) == 0)
{
lean_object* x_12; lean_object* x_13; size_t x_14; size_t x_15; lean_object* x_16; 
x_12 = lean_ctor_get(x_11, 0);
lean_inc(x_12);
x_13 = lean_ctor_get(x_11, 1);
lean_inc(x_13);
lean_dec(x_11);
x_14 = 1;
x_15 = lean_usize_add(x_3, x_14);
x_16 = lean_array_uset(x_10, x_3, x_12);
x_3 = x_15;
x_4 = x_16;
x_5 = x_13;
goto _start;
}
else
{
uint8_t x_18; 
lean_dec(x_10);
lean_dec(x_1);
x_18 = !lean_is_exclusive(x_11);
if (x_18 == 0)
{
return x_11;
}
else
{
lean_object* x_19; lean_object* x_20; lean_object* x_21; 
x_19 = lean_ctor_get(x_11, 0);
x_20 = lean_ctor_get(x_11, 1);
lean_inc(x_20);
lean_inc(x_19);
lean_dec(x_11);
x_21 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_21, 0, x_19);
lean_ctor_set(x_21, 1, x_20);
return x_21;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_rewriteM___at_Lean_Widget_msgToInteractive_fmtToTT___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
switch (lean_obj_tag(x_2)) {
case 0:
{
uint8_t x_4; 
lean_dec(x_1);
x_4 = !lean_is_exclusive(x_2);
if (x_4 == 0)
{
lean_object* x_5; 
x_5 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_5, 0, x_2);
lean_ctor_set(x_5, 1, x_3);
return x_5;
}
else
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; 
x_6 = lean_ctor_get(x_2, 0);
lean_inc(x_6);
lean_dec(x_2);
x_7 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_7, 0, x_6);
x_8 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_8, 0, x_7);
lean_ctor_set(x_8, 1, x_3);
return x_8;
}
}
case 1:
{
uint8_t x_9; 
x_9 = !lean_is_exclusive(x_2);
if (x_9 == 0)
{
lean_object* x_10; lean_object* x_11; size_t x_12; size_t x_13; lean_object* x_14; 
x_10 = lean_ctor_get(x_2, 0);
x_11 = lean_array_get_size(x_10);
x_12 = lean_usize_of_nat(x_11);
lean_dec(x_11);
x_13 = 0;
x_14 = l_Array_mapMUnsafe_map___at_Lean_Widget_msgToInteractive_fmtToTT___spec__4(x_1, x_12, x_13, x_10, x_3);
if (lean_obj_tag(x_14) == 0)
{
uint8_t x_15; 
x_15 = !lean_is_exclusive(x_14);
if (x_15 == 0)
{
lean_object* x_16; 
x_16 = lean_ctor_get(x_14, 0);
lean_ctor_set(x_2, 0, x_16);
lean_ctor_set(x_14, 0, x_2);
return x_14;
}
else
{
lean_object* x_17; lean_object* x_18; lean_object* x_19; 
x_17 = lean_ctor_get(x_14, 0);
x_18 = lean_ctor_get(x_14, 1);
lean_inc(x_18);
lean_inc(x_17);
lean_dec(x_14);
lean_ctor_set(x_2, 0, x_17);
x_19 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_19, 0, x_2);
lean_ctor_set(x_19, 1, x_18);
return x_19;
}
}
else
{
uint8_t x_20; 
lean_free_object(x_2);
x_20 = !lean_is_exclusive(x_14);
if (x_20 == 0)
{
return x_14;
}
else
{
lean_object* x_21; lean_object* x_22; lean_object* x_23; 
x_21 = lean_ctor_get(x_14, 0);
x_22 = lean_ctor_get(x_14, 1);
lean_inc(x_22);
lean_inc(x_21);
lean_dec(x_14);
x_23 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_23, 0, x_21);
lean_ctor_set(x_23, 1, x_22);
return x_23;
}
}
}
else
{
lean_object* x_24; lean_object* x_25; size_t x_26; size_t x_27; lean_object* x_28; 
x_24 = lean_ctor_get(x_2, 0);
lean_inc(x_24);
lean_dec(x_2);
x_25 = lean_array_get_size(x_24);
x_26 = lean_usize_of_nat(x_25);
lean_dec(x_25);
x_27 = 0;
x_28 = l_Array_mapMUnsafe_map___at_Lean_Widget_msgToInteractive_fmtToTT___spec__4(x_1, x_26, x_27, x_24, x_3);
if (lean_obj_tag(x_28) == 0)
{
lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; 
x_29 = lean_ctor_get(x_28, 0);
lean_inc(x_29);
x_30 = lean_ctor_get(x_28, 1);
lean_inc(x_30);
if (lean_is_exclusive(x_28)) {
 lean_ctor_release(x_28, 0);
 lean_ctor_release(x_28, 1);
 x_31 = x_28;
} else {
 lean_dec_ref(x_28);
 x_31 = lean_box(0);
}
x_32 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_32, 0, x_29);
if (lean_is_scalar(x_31)) {
 x_33 = lean_alloc_ctor(0, 2, 0);
} else {
 x_33 = x_31;
}
lean_ctor_set(x_33, 0, x_32);
lean_ctor_set(x_33, 1, x_30);
return x_33;
}
else
{
lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; 
x_34 = lean_ctor_get(x_28, 0);
lean_inc(x_34);
x_35 = lean_ctor_get(x_28, 1);
lean_inc(x_35);
if (lean_is_exclusive(x_28)) {
 lean_ctor_release(x_28, 0);
 lean_ctor_release(x_28, 1);
 x_36 = x_28;
} else {
 lean_dec_ref(x_28);
 x_36 = lean_box(0);
}
if (lean_is_scalar(x_36)) {
 x_37 = lean_alloc_ctor(1, 2, 0);
} else {
 x_37 = x_36;
}
lean_ctor_set(x_37, 0, x_34);
lean_ctor_set(x_37, 1, x_35);
return x_37;
}
}
}
default: 
{
lean_object* x_38; lean_object* x_39; lean_object* x_40; 
x_38 = lean_ctor_get(x_2, 0);
lean_inc(x_38);
x_39 = lean_ctor_get(x_2, 1);
lean_inc(x_39);
lean_dec(x_2);
x_40 = lean_apply_3(x_1, x_38, x_39, x_3);
return x_40;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_msgToInteractive_fmtToTT___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
lean_object* x_9; 
x_9 = l_Lean_Widget_msgToInteractive_fmtToTT(x_1, x_2, x_3, x_8);
if (lean_obj_tag(x_9) == 0)
{
uint8_t x_10; 
x_10 = !lean_is_exclusive(x_9);
if (x_10 == 0)
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; 
x_11 = lean_ctor_get(x_9, 0);
x_12 = lean_alloc_ctor(3, 4, 1);
lean_ctor_set(x_12, 0, x_4);
lean_ctor_set(x_12, 1, x_5);
lean_ctor_set(x_12, 2, x_11);
lean_ctor_set(x_12, 3, x_7);
lean_ctor_set_uint8(x_12, sizeof(void*)*4, x_6);
x_13 = l_Lean_Widget_instInhabitedMsgEmbed___closed__2;
x_14 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_14, 0, x_12);
lean_ctor_set(x_14, 1, x_13);
lean_ctor_set(x_9, 0, x_14);
return x_9;
}
else
{
lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; 
x_15 = lean_ctor_get(x_9, 0);
x_16 = lean_ctor_get(x_9, 1);
lean_inc(x_16);
lean_inc(x_15);
lean_dec(x_9);
x_17 = lean_alloc_ctor(3, 4, 1);
lean_ctor_set(x_17, 0, x_4);
lean_ctor_set(x_17, 1, x_5);
lean_ctor_set(x_17, 2, x_15);
lean_ctor_set(x_17, 3, x_7);
lean_ctor_set_uint8(x_17, sizeof(void*)*4, x_6);
x_18 = l_Lean_Widget_instInhabitedMsgEmbed___closed__2;
x_19 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_19, 0, x_17);
lean_ctor_set(x_19, 1, x_18);
x_20 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_20, 0, x_19);
lean_ctor_set(x_20, 1, x_16);
return x_20;
}
}
else
{
uint8_t x_21; 
lean_dec(x_7);
lean_dec(x_5);
lean_dec(x_4);
x_21 = !lean_is_exclusive(x_9);
if (x_21 == 0)
{
return x_9;
}
else
{
lean_object* x_22; lean_object* x_23; lean_object* x_24; 
x_22 = lean_ctor_get(x_9, 0);
x_23 = lean_ctor_get(x_9, 1);
lean_inc(x_23);
lean_inc(x_22);
lean_dec(x_9);
x_24 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_24, 0, x_22);
lean_ctor_set(x_24, 1, x_23);
return x_24;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_msgToInteractive_fmtToTT___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_Widget_goalToInteractive(x_1, x_2, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_7) == 0)
{
uint8_t x_8; 
x_8 = !lean_is_exclusive(x_7);
if (x_8 == 0)
{
lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_9 = lean_ctor_get(x_7, 0);
x_10 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_10, 0, x_9);
x_11 = l_Lean_Widget_instInhabitedMsgEmbed___closed__2;
x_12 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_12, 0, x_10);
lean_ctor_set(x_12, 1, x_11);
lean_ctor_set(x_7, 0, x_12);
return x_7;
}
else
{
lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; 
x_13 = lean_ctor_get(x_7, 0);
x_14 = lean_ctor_get(x_7, 1);
lean_inc(x_14);
lean_inc(x_13);
lean_dec(x_7);
x_15 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_15, 0, x_13);
x_16 = l_Lean_Widget_instInhabitedMsgEmbed___closed__2;
x_17 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_17, 0, x_15);
lean_ctor_set(x_17, 1, x_16);
x_18 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_18, 0, x_17);
lean_ctor_set(x_18, 1, x_14);
return x_18;
}
}
else
{
uint8_t x_19; 
x_19 = !lean_is_exclusive(x_7);
if (x_19 == 0)
{
return x_7;
}
else
{
lean_object* x_20; lean_object* x_21; lean_object* x_22; 
x_20 = lean_ctor_get(x_7, 0);
x_21 = lean_ctor_get(x_7, 1);
lean_inc(x_21);
lean_inc(x_20);
lean_dec(x_7);
x_22 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_22, 0, x_20);
lean_ctor_set(x_22, 1, x_21);
return x_22;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_msgToInteractive_fmtToTT___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_63; uint8_t x_64; 
x_6 = lean_ctor_get(x_3, 0);
lean_inc(x_6);
x_7 = lean_ctor_get(x_3, 1);
lean_inc(x_7);
if (lean_is_exclusive(x_3)) {
 lean_ctor_release(x_3, 0);
 lean_ctor_release(x_3, 1);
 x_8 = x_3;
} else {
 lean_dec_ref(x_3);
 x_8 = lean_box(0);
}
x_63 = lean_array_get_size(x_1);
x_64 = lean_nat_dec_lt(x_6, x_63);
lean_dec(x_63);
if (x_64 == 0)
{
lean_object* x_65; lean_object* x_66; 
lean_dec(x_6);
x_65 = l_Lean_Widget_instInhabitedEmbedFmt;
x_66 = l_outOfBounds___rarg(x_65);
switch (lean_obj_tag(x_66)) {
case 0:
{
uint8_t x_67; 
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_2);
lean_dec(x_1);
x_67 = !lean_is_exclusive(x_66);
if (x_67 == 0)
{
lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; 
x_68 = lean_ctor_get(x_66, 0);
x_69 = lean_ctor_get(x_66, 1);
x_70 = l_Lean_Widget_tagCodeInfos_go(x_68, x_69, x_4);
x_71 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_71, 0, x_70);
x_72 = l_Lean_Widget_instInhabitedMsgEmbed___closed__2;
lean_ctor_set_tag(x_66, 2);
lean_ctor_set(x_66, 1, x_72);
lean_ctor_set(x_66, 0, x_71);
x_73 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_73, 0, x_66);
lean_ctor_set(x_73, 1, x_5);
return x_73;
}
else
{
lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; 
x_74 = lean_ctor_get(x_66, 0);
x_75 = lean_ctor_get(x_66, 1);
lean_inc(x_75);
lean_inc(x_74);
lean_dec(x_66);
x_76 = l_Lean_Widget_tagCodeInfos_go(x_74, x_75, x_4);
x_77 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_77, 0, x_76);
x_78 = l_Lean_Widget_instInhabitedMsgEmbed___closed__2;
x_79 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_79, 0, x_77);
lean_ctor_set(x_79, 1, x_78);
x_80 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_80, 0, x_79);
lean_ctor_set(x_80, 1, x_5);
return x_80;
}
}
case 1:
{
lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; 
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_4);
lean_dec(x_2);
lean_dec(x_1);
x_81 = lean_ctor_get(x_66, 0);
lean_inc(x_81);
x_82 = lean_ctor_get(x_66, 1);
lean_inc(x_82);
x_83 = lean_ctor_get(x_66, 2);
lean_inc(x_83);
lean_dec(x_66);
x_84 = lean_alloc_closure((void*)(l_Lean_Widget_msgToInteractive_fmtToTT___lambda__2), 6, 1);
lean_closure_set(x_84, 0, x_83);
x_85 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_81, x_82, x_84, x_5);
return x_85;
}
case 2:
{
uint8_t x_86; 
lean_dec(x_8);
lean_dec(x_4);
lean_dec(x_2);
x_86 = !lean_is_exclusive(x_66);
if (x_86 == 0)
{
lean_object* x_87; lean_object* x_88; lean_object* x_89; 
x_87 = lean_ctor_get(x_66, 0);
x_88 = lean_ctor_get(x_66, 1);
x_89 = l_Lean_Widget_msgToInteractive_fmtToTT(x_1, x_88, x_7, x_5);
if (lean_obj_tag(x_89) == 0)
{
uint8_t x_90; 
x_90 = !lean_is_exclusive(x_89);
if (x_90 == 0)
{
lean_object* x_91; lean_object* x_92; lean_object* x_93; 
x_91 = lean_ctor_get(x_89, 0);
lean_ctor_set(x_66, 1, x_91);
x_92 = l_Lean_Widget_instInhabitedMsgEmbed___closed__2;
x_93 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_93, 0, x_66);
lean_ctor_set(x_93, 1, x_92);
lean_ctor_set(x_89, 0, x_93);
return x_89;
}
else
{
lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; 
x_94 = lean_ctor_get(x_89, 0);
x_95 = lean_ctor_get(x_89, 1);
lean_inc(x_95);
lean_inc(x_94);
lean_dec(x_89);
lean_ctor_set(x_66, 1, x_94);
x_96 = l_Lean_Widget_instInhabitedMsgEmbed___closed__2;
x_97 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_97, 0, x_66);
lean_ctor_set(x_97, 1, x_96);
x_98 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_98, 0, x_97);
lean_ctor_set(x_98, 1, x_95);
return x_98;
}
}
else
{
uint8_t x_99; 
lean_free_object(x_66);
lean_dec(x_87);
x_99 = !lean_is_exclusive(x_89);
if (x_99 == 0)
{
return x_89;
}
else
{
lean_object* x_100; lean_object* x_101; lean_object* x_102; 
x_100 = lean_ctor_get(x_89, 0);
x_101 = lean_ctor_get(x_89, 1);
lean_inc(x_101);
lean_inc(x_100);
lean_dec(x_89);
x_102 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_102, 0, x_100);
lean_ctor_set(x_102, 1, x_101);
return x_102;
}
}
}
else
{
lean_object* x_103; lean_object* x_104; lean_object* x_105; 
x_103 = lean_ctor_get(x_66, 0);
x_104 = lean_ctor_get(x_66, 1);
lean_inc(x_104);
lean_inc(x_103);
lean_dec(x_66);
x_105 = l_Lean_Widget_msgToInteractive_fmtToTT(x_1, x_104, x_7, x_5);
if (lean_obj_tag(x_105) == 0)
{
lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; 
x_106 = lean_ctor_get(x_105, 0);
lean_inc(x_106);
x_107 = lean_ctor_get(x_105, 1);
lean_inc(x_107);
if (lean_is_exclusive(x_105)) {
 lean_ctor_release(x_105, 0);
 lean_ctor_release(x_105, 1);
 x_108 = x_105;
} else {
 lean_dec_ref(x_105);
 x_108 = lean_box(0);
}
x_109 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_109, 0, x_103);
lean_ctor_set(x_109, 1, x_106);
x_110 = l_Lean_Widget_instInhabitedMsgEmbed___closed__2;
x_111 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_111, 0, x_109);
lean_ctor_set(x_111, 1, x_110);
if (lean_is_scalar(x_108)) {
 x_112 = lean_alloc_ctor(0, 2, 0);
} else {
 x_112 = x_108;
}
lean_ctor_set(x_112, 0, x_111);
lean_ctor_set(x_112, 1, x_107);
return x_112;
}
else
{
lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; 
lean_dec(x_103);
x_113 = lean_ctor_get(x_105, 0);
lean_inc(x_113);
x_114 = lean_ctor_get(x_105, 1);
lean_inc(x_114);
if (lean_is_exclusive(x_105)) {
 lean_ctor_release(x_105, 0);
 lean_ctor_release(x_105, 1);
 x_115 = x_105;
} else {
 lean_dec_ref(x_105);
 x_115 = lean_box(0);
}
if (lean_is_scalar(x_115)) {
 x_116 = lean_alloc_ctor(1, 2, 0);
} else {
 x_116 = x_115;
}
lean_ctor_set(x_116, 0, x_113);
lean_ctor_set(x_116, 1, x_114);
return x_116;
}
}
}
case 3:
{
lean_object* x_117; lean_object* x_118; uint8_t x_119; lean_object* x_120; 
x_117 = lean_ctor_get(x_66, 0);
lean_inc(x_117);
x_118 = lean_ctor_get(x_66, 1);
lean_inc(x_118);
x_119 = lean_ctor_get_uint8(x_66, sizeof(void*)*3);
x_120 = lean_ctor_get(x_66, 2);
lean_inc(x_120);
lean_dec(x_66);
x_9 = x_117;
x_10 = x_118;
x_11 = x_119;
x_12 = x_120;
goto block_62;
}
default: 
{
lean_object* x_121; lean_object* x_122; lean_object* x_123; 
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_2);
lean_dec(x_1);
x_121 = l_Lean_Widget_TaggedText_stripTags___rarg(x_4);
x_122 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_122, 0, x_121);
x_123 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_123, 0, x_122);
lean_ctor_set(x_123, 1, x_5);
return x_123;
}
}
}
else
{
lean_object* x_124; 
x_124 = lean_array_fget(x_1, x_6);
lean_dec(x_6);
switch (lean_obj_tag(x_124)) {
case 0:
{
uint8_t x_125; 
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_2);
lean_dec(x_1);
x_125 = !lean_is_exclusive(x_124);
if (x_125 == 0)
{
lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; 
x_126 = lean_ctor_get(x_124, 0);
x_127 = lean_ctor_get(x_124, 1);
x_128 = l_Lean_Widget_tagCodeInfos_go(x_126, x_127, x_4);
x_129 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_129, 0, x_128);
x_130 = l_Lean_Widget_instInhabitedMsgEmbed___closed__2;
lean_ctor_set_tag(x_124, 2);
lean_ctor_set(x_124, 1, x_130);
lean_ctor_set(x_124, 0, x_129);
x_131 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_131, 0, x_124);
lean_ctor_set(x_131, 1, x_5);
return x_131;
}
else
{
lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; 
x_132 = lean_ctor_get(x_124, 0);
x_133 = lean_ctor_get(x_124, 1);
lean_inc(x_133);
lean_inc(x_132);
lean_dec(x_124);
x_134 = l_Lean_Widget_tagCodeInfos_go(x_132, x_133, x_4);
x_135 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_135, 0, x_134);
x_136 = l_Lean_Widget_instInhabitedMsgEmbed___closed__2;
x_137 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_137, 0, x_135);
lean_ctor_set(x_137, 1, x_136);
x_138 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_138, 0, x_137);
lean_ctor_set(x_138, 1, x_5);
return x_138;
}
}
case 1:
{
lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; 
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_4);
lean_dec(x_2);
lean_dec(x_1);
x_139 = lean_ctor_get(x_124, 0);
lean_inc(x_139);
x_140 = lean_ctor_get(x_124, 1);
lean_inc(x_140);
x_141 = lean_ctor_get(x_124, 2);
lean_inc(x_141);
lean_dec(x_124);
x_142 = lean_alloc_closure((void*)(l_Lean_Widget_msgToInteractive_fmtToTT___lambda__2), 6, 1);
lean_closure_set(x_142, 0, x_141);
x_143 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_139, x_140, x_142, x_5);
return x_143;
}
case 2:
{
uint8_t x_144; 
lean_dec(x_8);
lean_dec(x_4);
lean_dec(x_2);
x_144 = !lean_is_exclusive(x_124);
if (x_144 == 0)
{
lean_object* x_145; lean_object* x_146; lean_object* x_147; 
x_145 = lean_ctor_get(x_124, 0);
x_146 = lean_ctor_get(x_124, 1);
x_147 = l_Lean_Widget_msgToInteractive_fmtToTT(x_1, x_146, x_7, x_5);
if (lean_obj_tag(x_147) == 0)
{
uint8_t x_148; 
x_148 = !lean_is_exclusive(x_147);
if (x_148 == 0)
{
lean_object* x_149; lean_object* x_150; lean_object* x_151; 
x_149 = lean_ctor_get(x_147, 0);
lean_ctor_set(x_124, 1, x_149);
x_150 = l_Lean_Widget_instInhabitedMsgEmbed___closed__2;
x_151 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_151, 0, x_124);
lean_ctor_set(x_151, 1, x_150);
lean_ctor_set(x_147, 0, x_151);
return x_147;
}
else
{
lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; 
x_152 = lean_ctor_get(x_147, 0);
x_153 = lean_ctor_get(x_147, 1);
lean_inc(x_153);
lean_inc(x_152);
lean_dec(x_147);
lean_ctor_set(x_124, 1, x_152);
x_154 = l_Lean_Widget_instInhabitedMsgEmbed___closed__2;
x_155 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_155, 0, x_124);
lean_ctor_set(x_155, 1, x_154);
x_156 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_156, 0, x_155);
lean_ctor_set(x_156, 1, x_153);
return x_156;
}
}
else
{
uint8_t x_157; 
lean_free_object(x_124);
lean_dec(x_145);
x_157 = !lean_is_exclusive(x_147);
if (x_157 == 0)
{
return x_147;
}
else
{
lean_object* x_158; lean_object* x_159; lean_object* x_160; 
x_158 = lean_ctor_get(x_147, 0);
x_159 = lean_ctor_get(x_147, 1);
lean_inc(x_159);
lean_inc(x_158);
lean_dec(x_147);
x_160 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_160, 0, x_158);
lean_ctor_set(x_160, 1, x_159);
return x_160;
}
}
}
else
{
lean_object* x_161; lean_object* x_162; lean_object* x_163; 
x_161 = lean_ctor_get(x_124, 0);
x_162 = lean_ctor_get(x_124, 1);
lean_inc(x_162);
lean_inc(x_161);
lean_dec(x_124);
x_163 = l_Lean_Widget_msgToInteractive_fmtToTT(x_1, x_162, x_7, x_5);
if (lean_obj_tag(x_163) == 0)
{
lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; 
x_164 = lean_ctor_get(x_163, 0);
lean_inc(x_164);
x_165 = lean_ctor_get(x_163, 1);
lean_inc(x_165);
if (lean_is_exclusive(x_163)) {
 lean_ctor_release(x_163, 0);
 lean_ctor_release(x_163, 1);
 x_166 = x_163;
} else {
 lean_dec_ref(x_163);
 x_166 = lean_box(0);
}
x_167 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_167, 0, x_161);
lean_ctor_set(x_167, 1, x_164);
x_168 = l_Lean_Widget_instInhabitedMsgEmbed___closed__2;
x_169 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_169, 0, x_167);
lean_ctor_set(x_169, 1, x_168);
if (lean_is_scalar(x_166)) {
 x_170 = lean_alloc_ctor(0, 2, 0);
} else {
 x_170 = x_166;
}
lean_ctor_set(x_170, 0, x_169);
lean_ctor_set(x_170, 1, x_165);
return x_170;
}
else
{
lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; 
lean_dec(x_161);
x_171 = lean_ctor_get(x_163, 0);
lean_inc(x_171);
x_172 = lean_ctor_get(x_163, 1);
lean_inc(x_172);
if (lean_is_exclusive(x_163)) {
 lean_ctor_release(x_163, 0);
 lean_ctor_release(x_163, 1);
 x_173 = x_163;
} else {
 lean_dec_ref(x_163);
 x_173 = lean_box(0);
}
if (lean_is_scalar(x_173)) {
 x_174 = lean_alloc_ctor(1, 2, 0);
} else {
 x_174 = x_173;
}
lean_ctor_set(x_174, 0, x_171);
lean_ctor_set(x_174, 1, x_172);
return x_174;
}
}
}
case 3:
{
lean_object* x_175; lean_object* x_176; uint8_t x_177; lean_object* x_178; 
x_175 = lean_ctor_get(x_124, 0);
lean_inc(x_175);
x_176 = lean_ctor_get(x_124, 1);
lean_inc(x_176);
x_177 = lean_ctor_get_uint8(x_124, sizeof(void*)*3);
x_178 = lean_ctor_get(x_124, 2);
lean_inc(x_178);
lean_dec(x_124);
x_9 = x_175;
x_10 = x_176;
x_11 = x_177;
x_12 = x_178;
goto block_62;
}
default: 
{
lean_object* x_179; lean_object* x_180; lean_object* x_181; 
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_2);
lean_dec(x_1);
x_179 = l_Lean_Widget_TaggedText_stripTags___rarg(x_4);
x_180 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_180, 0, x_179);
x_181 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_181, 0, x_180);
lean_ctor_set(x_181, 1, x_5);
return x_181;
}
}
}
block_62:
{
lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; 
x_13 = l_Lean_Widget_TaggedText_stripTags___rarg(x_4);
x_14 = lean_string_length(x_13);
lean_dec(x_13);
x_15 = lean_nat_add(x_7, x_14);
lean_dec(x_14);
lean_dec(x_7);
x_16 = lean_unsigned_to_nat(2u);
x_17 = lean_nat_sub(x_15, x_16);
lean_dec(x_15);
if (lean_obj_tag(x_12) == 0)
{
uint8_t x_18; 
lean_dec(x_8);
x_18 = !lean_is_exclusive(x_12);
if (x_18 == 0)
{
lean_object* x_19; lean_object* x_20; size_t x_21; size_t x_22; lean_object* x_23; 
x_19 = lean_ctor_get(x_12, 0);
x_20 = lean_array_get_size(x_19);
x_21 = lean_usize_of_nat(x_20);
lean_dec(x_20);
x_22 = 0;
lean_inc(x_1);
x_23 = l_Array_mapMUnsafe_map___at_Lean_Widget_msgToInteractive_fmtToTT___spec__1(x_1, x_17, x_21, x_22, x_19, x_5);
if (lean_obj_tag(x_23) == 0)
{
lean_object* x_24; lean_object* x_25; lean_object* x_26; 
x_24 = lean_ctor_get(x_23, 0);
lean_inc(x_24);
x_25 = lean_ctor_get(x_23, 1);
lean_inc(x_25);
lean_dec(x_23);
lean_ctor_set(x_12, 0, x_24);
x_26 = l_Lean_Widget_msgToInteractive_fmtToTT___lambda__1(x_1, x_10, x_17, x_2, x_9, x_11, x_12, x_25);
return x_26;
}
else
{
uint8_t x_27; 
lean_free_object(x_12);
lean_dec(x_17);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_2);
lean_dec(x_1);
x_27 = !lean_is_exclusive(x_23);
if (x_27 == 0)
{
return x_23;
}
else
{
lean_object* x_28; lean_object* x_29; lean_object* x_30; 
x_28 = lean_ctor_get(x_23, 0);
x_29 = lean_ctor_get(x_23, 1);
lean_inc(x_29);
lean_inc(x_28);
lean_dec(x_23);
x_30 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_30, 0, x_28);
lean_ctor_set(x_30, 1, x_29);
return x_30;
}
}
}
else
{
lean_object* x_31; lean_object* x_32; size_t x_33; size_t x_34; lean_object* x_35; 
x_31 = lean_ctor_get(x_12, 0);
lean_inc(x_31);
lean_dec(x_12);
x_32 = lean_array_get_size(x_31);
x_33 = lean_usize_of_nat(x_32);
lean_dec(x_32);
x_34 = 0;
lean_inc(x_1);
x_35 = l_Array_mapMUnsafe_map___at_Lean_Widget_msgToInteractive_fmtToTT___spec__1(x_1, x_17, x_33, x_34, x_31, x_5);
if (lean_obj_tag(x_35) == 0)
{
lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; 
x_36 = lean_ctor_get(x_35, 0);
lean_inc(x_36);
x_37 = lean_ctor_get(x_35, 1);
lean_inc(x_37);
lean_dec(x_35);
x_38 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_38, 0, x_36);
x_39 = l_Lean_Widget_msgToInteractive_fmtToTT___lambda__1(x_1, x_10, x_17, x_2, x_9, x_11, x_38, x_37);
return x_39;
}
else
{
lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; 
lean_dec(x_17);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_2);
lean_dec(x_1);
x_40 = lean_ctor_get(x_35, 0);
lean_inc(x_40);
x_41 = lean_ctor_get(x_35, 1);
lean_inc(x_41);
if (lean_is_exclusive(x_35)) {
 lean_ctor_release(x_35, 0);
 lean_ctor_release(x_35, 1);
 x_42 = x_35;
} else {
 lean_dec_ref(x_35);
 x_42 = lean_box(0);
}
if (lean_is_scalar(x_42)) {
 x_43 = lean_alloc_ctor(1, 2, 0);
} else {
 x_43 = x_42;
}
lean_ctor_set(x_43, 0, x_40);
lean_ctor_set(x_43, 1, x_41);
return x_43;
}
}
}
else
{
uint8_t x_44; 
x_44 = !lean_is_exclusive(x_12);
if (x_44 == 0)
{
lean_object* x_45; lean_object* x_46; lean_object* x_47; size_t x_48; size_t x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; 
x_45 = lean_ctor_get(x_12, 0);
x_46 = lean_nat_add(x_17, x_16);
x_47 = lean_array_get_size(x_45);
x_48 = lean_usize_of_nat(x_47);
lean_dec(x_47);
x_49 = 0;
x_50 = l_Array_mapMUnsafe_map___at_Lean_Widget_msgToInteractive_fmtToTT___spec__2(x_48, x_49, x_45);
if (lean_is_scalar(x_8)) {
 x_51 = lean_alloc_ctor(0, 2, 0);
} else {
 x_51 = x_8;
}
lean_ctor_set(x_51, 0, x_46);
lean_ctor_set(x_51, 1, x_50);
lean_ctor_set(x_12, 0, x_51);
x_52 = l_Lean_Widget_msgToInteractive_fmtToTT___lambda__1(x_1, x_10, x_17, x_2, x_9, x_11, x_12, x_5);
return x_52;
}
else
{
lean_object* x_53; lean_object* x_54; lean_object* x_55; size_t x_56; size_t x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; 
x_53 = lean_ctor_get(x_12, 0);
lean_inc(x_53);
lean_dec(x_12);
x_54 = lean_nat_add(x_17, x_16);
x_55 = lean_array_get_size(x_53);
x_56 = lean_usize_of_nat(x_55);
lean_dec(x_55);
x_57 = 0;
x_58 = l_Array_mapMUnsafe_map___at_Lean_Widget_msgToInteractive_fmtToTT___spec__2(x_56, x_57, x_53);
if (lean_is_scalar(x_8)) {
 x_59 = lean_alloc_ctor(0, 2, 0);
} else {
 x_59 = x_8;
}
lean_ctor_set(x_59, 0, x_54);
lean_ctor_set(x_59, 1, x_58);
x_60 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_60, 0, x_59);
x_61 = l_Lean_Widget_msgToInteractive_fmtToTT___lambda__1(x_1, x_10, x_17, x_2, x_9, x_11, x_60, x_5);
return x_61;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_msgToInteractive_fmtToTT(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; 
lean_inc(x_3);
x_5 = lean_alloc_closure((void*)(l_Lean_Widget_msgToInteractive_fmtToTT___lambda__3), 5, 2);
lean_closure_set(x_5, 0, x_1);
lean_closure_set(x_5, 1, x_3);
x_6 = l_Std_Format_defWidth;
x_7 = l_Lean_Widget_TaggedText_prettyTagged(x_2, x_3, x_6);
x_8 = l_Lean_Widget_TaggedText_rewriteM___at_Lean_Widget_msgToInteractive_fmtToTT___spec__3(x_5, x_7, x_4);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_msgToInteractive_fmtToTT___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
size_t x_7; size_t x_8; lean_object* x_9; 
x_7 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_8 = lean_unbox_usize(x_4);
lean_dec(x_4);
x_9 = l_Array_mapMUnsafe_map___at_Lean_Widget_msgToInteractive_fmtToTT___spec__1(x_1, x_2, x_7, x_8, x_5, x_6);
lean_dec(x_2);
return x_9;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_msgToInteractive_fmtToTT___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
size_t x_4; size_t x_5; lean_object* x_6; 
x_4 = lean_unbox_usize(x_1);
lean_dec(x_1);
x_5 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_6 = l_Array_mapMUnsafe_map___at_Lean_Widget_msgToInteractive_fmtToTT___spec__2(x_4, x_5, x_3);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_msgToInteractive_fmtToTT___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
size_t x_6; size_t x_7; lean_object* x_8; 
x_6 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_7 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_8 = l_Array_mapMUnsafe_map___at_Lean_Widget_msgToInteractive_fmtToTT___spec__4(x_1, x_6, x_7, x_4, x_5);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_msgToInteractive_fmtToTT___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
uint8_t x_9; lean_object* x_10; 
x_9 = lean_unbox(x_6);
lean_dec(x_6);
x_10 = l_Lean_Widget_msgToInteractive_fmtToTT___lambda__1(x_1, x_2, x_3, x_4, x_5, x_9, x_7, x_8);
return x_10;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_msgToInteractive___lambda__1(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; 
x_3 = l_Lean_Widget_TaggedText_stripTags___rarg(x_2);
x_4 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_4, 0, x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_msgToInteractive___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux(x_1, x_4);
if (lean_obj_tag(x_5) == 0)
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; 
x_6 = lean_ctor_get(x_5, 0);
lean_inc(x_6);
x_7 = lean_ctor_get(x_5, 1);
lean_inc(x_7);
lean_dec(x_5);
x_8 = lean_ctor_get(x_6, 0);
lean_inc(x_8);
x_9 = lean_ctor_get(x_6, 1);
lean_inc(x_9);
lean_dec(x_6);
x_10 = l_Lean_Widget_msgToInteractive_fmtToTT(x_9, x_8, x_2, x_7);
return x_10;
}
else
{
uint8_t x_11; 
lean_dec(x_2);
x_11 = !lean_is_exclusive(x_5);
if (x_11 == 0)
{
return x_5;
}
else
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; 
x_12 = lean_ctor_get(x_5, 0);
x_13 = lean_ctor_get(x_5, 1);
lean_inc(x_13);
lean_inc(x_12);
lean_dec(x_5);
x_14 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_14, 0, x_12);
lean_ctor_set(x_14, 1, x_13);
return x_14;
}
}
}
}
static lean_object* _init_l_Lean_Widget_msgToInteractive___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Widget_msgToInteractive___lambda__1___boxed), 2, 0);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_msgToInteractive(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
if (x_2 == 0)
{
lean_object* x_5; 
lean_dec(x_3);
x_5 = l_Lean_MessageData_format(x_1, x_4);
if (lean_obj_tag(x_5) == 0)
{
uint8_t x_6; 
x_6 = !lean_is_exclusive(x_5);
if (x_6 == 0)
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_7 = lean_ctor_get(x_5, 0);
x_8 = lean_unsigned_to_nat(0u);
x_9 = l_Std_Format_defWidth;
x_10 = l_Lean_Widget_TaggedText_prettyTagged(x_7, x_8, x_9);
x_11 = l_Lean_Widget_msgToInteractive___closed__1;
x_12 = l_Lean_Widget_TaggedText_rewrite___rarg(x_11, x_10);
lean_ctor_set(x_5, 0, x_12);
return x_5;
}
else
{
lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; 
x_13 = lean_ctor_get(x_5, 0);
x_14 = lean_ctor_get(x_5, 1);
lean_inc(x_14);
lean_inc(x_13);
lean_dec(x_5);
x_15 = lean_unsigned_to_nat(0u);
x_16 = l_Std_Format_defWidth;
x_17 = l_Lean_Widget_TaggedText_prettyTagged(x_13, x_15, x_16);
x_18 = l_Lean_Widget_msgToInteractive___closed__1;
x_19 = l_Lean_Widget_TaggedText_rewrite___rarg(x_18, x_17);
x_20 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_20, 0, x_19);
lean_ctor_set(x_20, 1, x_14);
return x_20;
}
}
else
{
uint8_t x_21; 
x_21 = !lean_is_exclusive(x_5);
if (x_21 == 0)
{
return x_5;
}
else
{
lean_object* x_22; lean_object* x_23; lean_object* x_24; 
x_22 = lean_ctor_get(x_5, 0);
x_23 = lean_ctor_get(x_5, 1);
lean_inc(x_23);
lean_inc(x_22);
lean_dec(x_5);
x_24 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_24, 0, x_22);
lean_ctor_set(x_24, 1, x_23);
return x_24;
}
}
}
else
{
lean_object* x_25; lean_object* x_26; 
x_25 = lean_box(0);
x_26 = l_Lean_Widget_msgToInteractive___lambda__2(x_1, x_3, x_25, x_4);
return x_26;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_msgToInteractive___lambda__1___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_Widget_msgToInteractive___lambda__1(x_1, x_2);
lean_dec(x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_msgToInteractive___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Lean_Widget_msgToInteractive___lambda__2(x_1, x_2, x_3, x_4);
lean_dec(x_3);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_msgToInteractive___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
uint8_t x_5; lean_object* x_6; 
x_5 = lean_unbox(x_2);
lean_dec(x_2);
x_6 = l_Lean_Widget_msgToInteractive(x_1, x_5, x_3, x_4);
return x_6;
}
}
static lean_object* _init_l_Lean_Widget_msgToInteractiveDiagnostic___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Lean 4", 6, 6);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_msgToInteractiveDiagnostic___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Widget_msgToInteractiveDiagnostic___closed__1;
x_2 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Widget_msgToInteractiveDiagnostic___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_MessageData_isDeprecationWarning___lambda__1___boxed), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_msgToInteractiveDiagnostic___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_MessageData_isUnusedVariableWarning___lambda__1___boxed), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_msgToInteractiveDiagnostic___closed__5() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("[error when printing message: ", 30, 30);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_msgToInteractiveDiagnostic___closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("]", 1, 1);
return x_1;
}
}
static lean_object* _init_l_Lean_Widget_msgToInteractiveDiagnostic___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(1u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Widget_msgToInteractiveDiagnostic___closed__8() {
_start:
{
lean_object* x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Widget_msgToInteractiveDiagnostic___closed__7;
x_2 = 0;
x_3 = lean_box(x_2);
x_4 = lean_array_push(x_1, x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Widget_msgToInteractiveDiagnostic___closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Widget_msgToInteractiveDiagnostic___closed__8;
x_2 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Widget_msgToInteractiveDiagnostic___closed__10() {
_start:
{
lean_object* x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Widget_msgToInteractiveDiagnostic___closed__7;
x_2 = 1;
x_3 = lean_box(x_2);
x_4 = lean_array_push(x_1, x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Widget_msgToInteractiveDiagnostic___closed__11() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Widget_msgToInteractiveDiagnostic___closed__10;
x_2 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_msgToInteractiveDiagnostic(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; 
x_5 = lean_ctor_get(x_2, 1);
lean_inc(x_5);
lean_inc(x_5);
x_6 = l_Lean_FileMap_leanPosToLspPos(x_1, x_5);
x_7 = lean_ctor_get(x_2, 2);
lean_inc(x_7);
x_8 = lean_ctor_get_uint8(x_2, sizeof(void*)*5 + 1);
x_9 = lean_ctor_get(x_2, 4);
lean_inc(x_9);
x_10 = l_Lean_Widget_msgToInteractiveDiagnostic___closed__3;
lean_inc(x_9);
x_11 = l_Lean_MessageData_hasTag(x_10, x_9);
x_12 = lean_unsigned_to_nat(0u);
lean_inc(x_9);
x_13 = l_Lean_Widget_msgToInteractive(x_9, x_3, x_12, x_4);
if (lean_obj_tag(x_7) == 0)
{
lean_inc(x_5);
x_14 = x_5;
goto block_160;
}
else
{
lean_object* x_161; 
x_161 = lean_ctor_get(x_7, 0);
lean_inc(x_161);
x_14 = x_161;
goto block_160;
}
block_160:
{
lean_object* x_15; lean_object* x_16; lean_object* x_17; 
x_15 = l_Lean_FileMap_leanPosToLspPos(x_1, x_14);
lean_inc(x_6);
x_16 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_16, 0, x_6);
lean_ctor_set(x_16, 1, x_15);
if (lean_obj_tag(x_7) == 0)
{
lean_dec(x_5);
lean_dec(x_2);
lean_inc(x_6);
x_17 = x_6;
goto block_147;
}
else
{
uint8_t x_148; 
x_148 = lean_ctor_get_uint8(x_2, sizeof(void*)*5);
lean_dec(x_2);
if (x_148 == 0)
{
lean_object* x_149; lean_object* x_150; lean_object* x_151; uint8_t x_152; 
x_149 = lean_ctor_get(x_7, 0);
lean_inc(x_149);
lean_dec(x_7);
x_150 = lean_ctor_get(x_5, 0);
lean_inc(x_150);
lean_dec(x_5);
x_151 = lean_ctor_get(x_149, 0);
lean_inc(x_151);
x_152 = lean_nat_dec_lt(x_150, x_151);
lean_dec(x_151);
if (x_152 == 0)
{
lean_object* x_153; 
lean_dec(x_150);
x_153 = l_Lean_FileMap_leanPosToLspPos(x_1, x_149);
x_17 = x_153;
goto block_147;
}
else
{
lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; 
lean_dec(x_149);
x_154 = lean_unsigned_to_nat(1u);
x_155 = lean_nat_add(x_150, x_154);
lean_dec(x_150);
x_156 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_156, 0, x_155);
lean_ctor_set(x_156, 1, x_12);
x_157 = l_Lean_FileMap_leanPosToLspPos(x_1, x_156);
x_17 = x_157;
goto block_147;
}
}
else
{
lean_object* x_158; lean_object* x_159; 
lean_dec(x_5);
x_158 = lean_ctor_get(x_7, 0);
lean_inc(x_158);
lean_dec(x_7);
x_159 = l_Lean_FileMap_leanPosToLspPos(x_1, x_158);
x_17 = x_159;
goto block_147;
}
}
block_147:
{
lean_object* x_18; uint8_t x_19; 
x_18 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_18, 0, x_6);
lean_ctor_set(x_18, 1, x_17);
switch (x_8) {
case 0:
{
uint8_t x_144; 
x_144 = 2;
x_19 = x_144;
goto block_143;
}
case 1:
{
uint8_t x_145; 
x_145 = 1;
x_19 = x_145;
goto block_143;
}
default: 
{
uint8_t x_146; 
x_146 = 0;
x_19 = x_146;
goto block_143;
}
}
block_143:
{
lean_object* x_20; lean_object* x_21; 
x_20 = lean_box(x_19);
x_21 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_21, 0, x_20);
if (x_11 == 0)
{
lean_object* x_22; uint8_t x_23; 
x_22 = l_Lean_Widget_msgToInteractiveDiagnostic___closed__4;
x_23 = l_Lean_MessageData_hasTag(x_22, x_9);
if (x_23 == 0)
{
lean_object* x_24; 
x_24 = lean_box(0);
if (lean_obj_tag(x_13) == 0)
{
uint8_t x_25; 
x_25 = !lean_is_exclusive(x_13);
if (x_25 == 0)
{
lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; 
x_26 = lean_ctor_get(x_13, 0);
x_27 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_27, 0, x_16);
x_28 = l_Lean_Widget_msgToInteractiveDiagnostic___closed__2;
x_29 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_29, 0, x_18);
lean_ctor_set(x_29, 1, x_27);
lean_ctor_set(x_29, 2, x_21);
lean_ctor_set(x_29, 3, x_24);
lean_ctor_set(x_29, 4, x_28);
lean_ctor_set(x_29, 5, x_26);
lean_ctor_set(x_29, 6, x_24);
lean_ctor_set(x_29, 7, x_24);
lean_ctor_set(x_29, 8, x_24);
lean_ctor_set(x_13, 0, x_29);
return x_13;
}
else
{
lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; 
x_30 = lean_ctor_get(x_13, 0);
x_31 = lean_ctor_get(x_13, 1);
lean_inc(x_31);
lean_inc(x_30);
lean_dec(x_13);
x_32 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_32, 0, x_16);
x_33 = l_Lean_Widget_msgToInteractiveDiagnostic___closed__2;
x_34 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_34, 0, x_18);
lean_ctor_set(x_34, 1, x_32);
lean_ctor_set(x_34, 2, x_21);
lean_ctor_set(x_34, 3, x_24);
lean_ctor_set(x_34, 4, x_33);
lean_ctor_set(x_34, 5, x_30);
lean_ctor_set(x_34, 6, x_24);
lean_ctor_set(x_34, 7, x_24);
lean_ctor_set(x_34, 8, x_24);
x_35 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_35, 0, x_34);
lean_ctor_set(x_35, 1, x_31);
return x_35;
}
}
else
{
uint8_t x_36; 
x_36 = !lean_is_exclusive(x_13);
if (x_36 == 0)
{
lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; 
x_37 = lean_ctor_get(x_13, 0);
x_38 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_38, 0, x_16);
x_39 = lean_io_error_to_string(x_37);
x_40 = l_Lean_Widget_msgToInteractiveDiagnostic___closed__5;
x_41 = lean_string_append(x_40, x_39);
lean_dec(x_39);
x_42 = l_Lean_Widget_msgToInteractiveDiagnostic___closed__6;
x_43 = lean_string_append(x_41, x_42);
x_44 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_44, 0, x_43);
x_45 = l_Lean_Widget_msgToInteractiveDiagnostic___closed__2;
x_46 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_46, 0, x_18);
lean_ctor_set(x_46, 1, x_38);
lean_ctor_set(x_46, 2, x_21);
lean_ctor_set(x_46, 3, x_24);
lean_ctor_set(x_46, 4, x_45);
lean_ctor_set(x_46, 5, x_44);
lean_ctor_set(x_46, 6, x_24);
lean_ctor_set(x_46, 7, x_24);
lean_ctor_set(x_46, 8, x_24);
lean_ctor_set_tag(x_13, 0);
lean_ctor_set(x_13, 0, x_46);
return x_13;
}
else
{
lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; 
x_47 = lean_ctor_get(x_13, 0);
x_48 = lean_ctor_get(x_13, 1);
lean_inc(x_48);
lean_inc(x_47);
lean_dec(x_13);
x_49 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_49, 0, x_16);
x_50 = lean_io_error_to_string(x_47);
x_51 = l_Lean_Widget_msgToInteractiveDiagnostic___closed__5;
x_52 = lean_string_append(x_51, x_50);
lean_dec(x_50);
x_53 = l_Lean_Widget_msgToInteractiveDiagnostic___closed__6;
x_54 = lean_string_append(x_52, x_53);
x_55 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_55, 0, x_54);
x_56 = l_Lean_Widget_msgToInteractiveDiagnostic___closed__2;
x_57 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_57, 0, x_18);
lean_ctor_set(x_57, 1, x_49);
lean_ctor_set(x_57, 2, x_21);
lean_ctor_set(x_57, 3, x_24);
lean_ctor_set(x_57, 4, x_56);
lean_ctor_set(x_57, 5, x_55);
lean_ctor_set(x_57, 6, x_24);
lean_ctor_set(x_57, 7, x_24);
lean_ctor_set(x_57, 8, x_24);
x_58 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_58, 0, x_57);
lean_ctor_set(x_58, 1, x_48);
return x_58;
}
}
}
else
{
if (lean_obj_tag(x_13) == 0)
{
uint8_t x_59; 
x_59 = !lean_is_exclusive(x_13);
if (x_59 == 0)
{
lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; 
x_60 = lean_ctor_get(x_13, 0);
x_61 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_61, 0, x_16);
x_62 = lean_box(0);
x_63 = l_Lean_Widget_msgToInteractiveDiagnostic___closed__2;
x_64 = l_Lean_Widget_msgToInteractiveDiagnostic___closed__9;
x_65 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_65, 0, x_18);
lean_ctor_set(x_65, 1, x_61);
lean_ctor_set(x_65, 2, x_21);
lean_ctor_set(x_65, 3, x_62);
lean_ctor_set(x_65, 4, x_63);
lean_ctor_set(x_65, 5, x_60);
lean_ctor_set(x_65, 6, x_64);
lean_ctor_set(x_65, 7, x_62);
lean_ctor_set(x_65, 8, x_62);
lean_ctor_set(x_13, 0, x_65);
return x_13;
}
else
{
lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; 
x_66 = lean_ctor_get(x_13, 0);
x_67 = lean_ctor_get(x_13, 1);
lean_inc(x_67);
lean_inc(x_66);
lean_dec(x_13);
x_68 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_68, 0, x_16);
x_69 = lean_box(0);
x_70 = l_Lean_Widget_msgToInteractiveDiagnostic___closed__2;
x_71 = l_Lean_Widget_msgToInteractiveDiagnostic___closed__9;
x_72 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_72, 0, x_18);
lean_ctor_set(x_72, 1, x_68);
lean_ctor_set(x_72, 2, x_21);
lean_ctor_set(x_72, 3, x_69);
lean_ctor_set(x_72, 4, x_70);
lean_ctor_set(x_72, 5, x_66);
lean_ctor_set(x_72, 6, x_71);
lean_ctor_set(x_72, 7, x_69);
lean_ctor_set(x_72, 8, x_69);
x_73 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_73, 0, x_72);
lean_ctor_set(x_73, 1, x_67);
return x_73;
}
}
else
{
uint8_t x_74; 
x_74 = !lean_is_exclusive(x_13);
if (x_74 == 0)
{
lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; 
x_75 = lean_ctor_get(x_13, 0);
x_76 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_76, 0, x_16);
x_77 = lean_box(0);
x_78 = lean_io_error_to_string(x_75);
x_79 = l_Lean_Widget_msgToInteractiveDiagnostic___closed__5;
x_80 = lean_string_append(x_79, x_78);
lean_dec(x_78);
x_81 = l_Lean_Widget_msgToInteractiveDiagnostic___closed__6;
x_82 = lean_string_append(x_80, x_81);
x_83 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_83, 0, x_82);
x_84 = l_Lean_Widget_msgToInteractiveDiagnostic___closed__2;
x_85 = l_Lean_Widget_msgToInteractiveDiagnostic___closed__9;
x_86 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_86, 0, x_18);
lean_ctor_set(x_86, 1, x_76);
lean_ctor_set(x_86, 2, x_21);
lean_ctor_set(x_86, 3, x_77);
lean_ctor_set(x_86, 4, x_84);
lean_ctor_set(x_86, 5, x_83);
lean_ctor_set(x_86, 6, x_85);
lean_ctor_set(x_86, 7, x_77);
lean_ctor_set(x_86, 8, x_77);
lean_ctor_set_tag(x_13, 0);
lean_ctor_set(x_13, 0, x_86);
return x_13;
}
else
{
lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; 
x_87 = lean_ctor_get(x_13, 0);
x_88 = lean_ctor_get(x_13, 1);
lean_inc(x_88);
lean_inc(x_87);
lean_dec(x_13);
x_89 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_89, 0, x_16);
x_90 = lean_box(0);
x_91 = lean_io_error_to_string(x_87);
x_92 = l_Lean_Widget_msgToInteractiveDiagnostic___closed__5;
x_93 = lean_string_append(x_92, x_91);
lean_dec(x_91);
x_94 = l_Lean_Widget_msgToInteractiveDiagnostic___closed__6;
x_95 = lean_string_append(x_93, x_94);
x_96 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_96, 0, x_95);
x_97 = l_Lean_Widget_msgToInteractiveDiagnostic___closed__2;
x_98 = l_Lean_Widget_msgToInteractiveDiagnostic___closed__9;
x_99 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_99, 0, x_18);
lean_ctor_set(x_99, 1, x_89);
lean_ctor_set(x_99, 2, x_21);
lean_ctor_set(x_99, 3, x_90);
lean_ctor_set(x_99, 4, x_97);
lean_ctor_set(x_99, 5, x_96);
lean_ctor_set(x_99, 6, x_98);
lean_ctor_set(x_99, 7, x_90);
lean_ctor_set(x_99, 8, x_90);
x_100 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_100, 0, x_99);
lean_ctor_set(x_100, 1, x_88);
return x_100;
}
}
}
}
else
{
lean_dec(x_9);
if (lean_obj_tag(x_13) == 0)
{
uint8_t x_101; 
x_101 = !lean_is_exclusive(x_13);
if (x_101 == 0)
{
lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; 
x_102 = lean_ctor_get(x_13, 0);
x_103 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_103, 0, x_16);
x_104 = lean_box(0);
x_105 = l_Lean_Widget_msgToInteractiveDiagnostic___closed__2;
x_106 = l_Lean_Widget_msgToInteractiveDiagnostic___closed__11;
x_107 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_107, 0, x_18);
lean_ctor_set(x_107, 1, x_103);
lean_ctor_set(x_107, 2, x_21);
lean_ctor_set(x_107, 3, x_104);
lean_ctor_set(x_107, 4, x_105);
lean_ctor_set(x_107, 5, x_102);
lean_ctor_set(x_107, 6, x_106);
lean_ctor_set(x_107, 7, x_104);
lean_ctor_set(x_107, 8, x_104);
lean_ctor_set(x_13, 0, x_107);
return x_13;
}
else
{
lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; 
x_108 = lean_ctor_get(x_13, 0);
x_109 = lean_ctor_get(x_13, 1);
lean_inc(x_109);
lean_inc(x_108);
lean_dec(x_13);
x_110 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_110, 0, x_16);
x_111 = lean_box(0);
x_112 = l_Lean_Widget_msgToInteractiveDiagnostic___closed__2;
x_113 = l_Lean_Widget_msgToInteractiveDiagnostic___closed__11;
x_114 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_114, 0, x_18);
lean_ctor_set(x_114, 1, x_110);
lean_ctor_set(x_114, 2, x_21);
lean_ctor_set(x_114, 3, x_111);
lean_ctor_set(x_114, 4, x_112);
lean_ctor_set(x_114, 5, x_108);
lean_ctor_set(x_114, 6, x_113);
lean_ctor_set(x_114, 7, x_111);
lean_ctor_set(x_114, 8, x_111);
x_115 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_115, 0, x_114);
lean_ctor_set(x_115, 1, x_109);
return x_115;
}
}
else
{
uint8_t x_116; 
x_116 = !lean_is_exclusive(x_13);
if (x_116 == 0)
{
lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; 
x_117 = lean_ctor_get(x_13, 0);
x_118 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_118, 0, x_16);
x_119 = lean_box(0);
x_120 = lean_io_error_to_string(x_117);
x_121 = l_Lean_Widget_msgToInteractiveDiagnostic___closed__5;
x_122 = lean_string_append(x_121, x_120);
lean_dec(x_120);
x_123 = l_Lean_Widget_msgToInteractiveDiagnostic___closed__6;
x_124 = lean_string_append(x_122, x_123);
x_125 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_125, 0, x_124);
x_126 = l_Lean_Widget_msgToInteractiveDiagnostic___closed__2;
x_127 = l_Lean_Widget_msgToInteractiveDiagnostic___closed__11;
x_128 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_128, 0, x_18);
lean_ctor_set(x_128, 1, x_118);
lean_ctor_set(x_128, 2, x_21);
lean_ctor_set(x_128, 3, x_119);
lean_ctor_set(x_128, 4, x_126);
lean_ctor_set(x_128, 5, x_125);
lean_ctor_set(x_128, 6, x_127);
lean_ctor_set(x_128, 7, x_119);
lean_ctor_set(x_128, 8, x_119);
lean_ctor_set_tag(x_13, 0);
lean_ctor_set(x_13, 0, x_128);
return x_13;
}
else
{
lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; 
x_129 = lean_ctor_get(x_13, 0);
x_130 = lean_ctor_get(x_13, 1);
lean_inc(x_130);
lean_inc(x_129);
lean_dec(x_13);
x_131 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_131, 0, x_16);
x_132 = lean_box(0);
x_133 = lean_io_error_to_string(x_129);
x_134 = l_Lean_Widget_msgToInteractiveDiagnostic___closed__5;
x_135 = lean_string_append(x_134, x_133);
lean_dec(x_133);
x_136 = l_Lean_Widget_msgToInteractiveDiagnostic___closed__6;
x_137 = lean_string_append(x_135, x_136);
x_138 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_138, 0, x_137);
x_139 = l_Lean_Widget_msgToInteractiveDiagnostic___closed__2;
x_140 = l_Lean_Widget_msgToInteractiveDiagnostic___closed__11;
x_141 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_141, 0, x_18);
lean_ctor_set(x_141, 1, x_131);
lean_ctor_set(x_141, 2, x_21);
lean_ctor_set(x_141, 3, x_132);
lean_ctor_set(x_141, 4, x_139);
lean_ctor_set(x_141, 5, x_138);
lean_ctor_set(x_141, 6, x_140);
lean_ctor_set(x_141, 7, x_132);
lean_ctor_set(x_141, 8, x_132);
x_142 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_142, 0, x_141);
lean_ctor_set(x_142, 1, x_130);
return x_142;
}
}
}
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Widget_msgToInteractiveDiagnostic___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
uint8_t x_5; lean_object* x_6; 
x_5 = lean_unbox(x_3);
lean_dec(x_3);
x_6 = l_Lean_Widget_msgToInteractiveDiagnostic(x_1, x_2, x_5, x_4);
lean_dec(x_1);
return x_6;
}
}
lean_object* initialize_Lean_Linter_UnusedVariables(uint8_t builtin, lean_object*);
lean_object* initialize_Lean_Server_Utils(uint8_t builtin, lean_object*);
lean_object* initialize_Lean_Widget_InteractiveGoal(uint8_t builtin, lean_object*);
static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Lean_Widget_InteractiveDiagnostic(uint8_t builtin, lean_object* w) {
lean_object * res;
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
_G_initialized = true;
res = initialize_Lean_Linter_UnusedVariables(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lean_Server_Utils(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lean_Widget_InteractiveGoal(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____lambda__1___closed__1 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____lambda__1___closed__1();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____lambda__1___closed__1);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____lambda__1___closed__2 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____lambda__1___closed__2();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____lambda__1___closed__2);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____lambda__2___closed__1 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____lambda__2___closed__1();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____lambda__2___closed__1);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____lambda__2___closed__2 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____lambda__2___closed__2();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____lambda__2___closed__2);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____closed__1 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____closed__1();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_StrictOrLazy_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_92____closed__1);
l_Lean_Widget_Lean_Widget_StrictOrLazy_instFromJsonRpcEncodablePacket___closed__1 = _init_l_Lean_Widget_Lean_Widget_StrictOrLazy_instFromJsonRpcEncodablePacket___closed__1();
lean_mark_persistent(l_Lean_Widget_Lean_Widget_StrictOrLazy_instFromJsonRpcEncodablePacket___closed__1);
l_Lean_Widget_Lean_Widget_StrictOrLazy_instFromJsonRpcEncodablePacket = _init_l_Lean_Widget_Lean_Widget_StrictOrLazy_instFromJsonRpcEncodablePacket();
lean_mark_persistent(l_Lean_Widget_Lean_Widget_StrictOrLazy_instFromJsonRpcEncodablePacket);
l_Lean_Widget_Lean_Widget_StrictOrLazy_instToJsonRpcEncodablePacket___closed__1 = _init_l_Lean_Widget_Lean_Widget_StrictOrLazy_instToJsonRpcEncodablePacket___closed__1();
lean_mark_persistent(l_Lean_Widget_Lean_Widget_StrictOrLazy_instToJsonRpcEncodablePacket___closed__1);
l_Lean_Widget_Lean_Widget_StrictOrLazy_instToJsonRpcEncodablePacket = _init_l_Lean_Widget_Lean_Widget_StrictOrLazy_instToJsonRpcEncodablePacket();
lean_mark_persistent(l_Lean_Widget_Lean_Widget_StrictOrLazy_instToJsonRpcEncodablePacket);
l_Lean_Widget_instImpl____x40_Lean_Widget_InteractiveDiagnostic___hyg_541____closed__1 = _init_l_Lean_Widget_instImpl____x40_Lean_Widget_InteractiveDiagnostic___hyg_541____closed__1();
lean_mark_persistent(l_Lean_Widget_instImpl____x40_Lean_Widget_InteractiveDiagnostic___hyg_541____closed__1);
l_Lean_Widget_instImpl____x40_Lean_Widget_InteractiveDiagnostic___hyg_541____closed__2 = _init_l_Lean_Widget_instImpl____x40_Lean_Widget_InteractiveDiagnostic___hyg_541____closed__2();
lean_mark_persistent(l_Lean_Widget_instImpl____x40_Lean_Widget_InteractiveDiagnostic___hyg_541____closed__2);
l_Lean_Widget_instImpl____x40_Lean_Widget_InteractiveDiagnostic___hyg_541____closed__3 = _init_l_Lean_Widget_instImpl____x40_Lean_Widget_InteractiveDiagnostic___hyg_541____closed__3();
lean_mark_persistent(l_Lean_Widget_instImpl____x40_Lean_Widget_InteractiveDiagnostic___hyg_541____closed__3);
l_Lean_Widget_instImpl____x40_Lean_Widget_InteractiveDiagnostic___hyg_541____closed__4 = _init_l_Lean_Widget_instImpl____x40_Lean_Widget_InteractiveDiagnostic___hyg_541____closed__4();
lean_mark_persistent(l_Lean_Widget_instImpl____x40_Lean_Widget_InteractiveDiagnostic___hyg_541____closed__4);
l_Lean_Widget_instImpl____x40_Lean_Widget_InteractiveDiagnostic___hyg_541_ = _init_l_Lean_Widget_instImpl____x40_Lean_Widget_InteractiveDiagnostic___hyg_541_();
lean_mark_persistent(l_Lean_Widget_instImpl____x40_Lean_Widget_InteractiveDiagnostic___hyg_541_);
l_Lean_Widget_instTypeNameLazyTraceChildren = _init_l_Lean_Widget_instTypeNameLazyTraceChildren();
lean_mark_persistent(l_Lean_Widget_instTypeNameLazyTraceChildren);
l_Lean_Widget_instInhabitedMsgEmbed___closed__1 = _init_l_Lean_Widget_instInhabitedMsgEmbed___closed__1();
lean_mark_persistent(l_Lean_Widget_instInhabitedMsgEmbed___closed__1);
l_Lean_Widget_instInhabitedMsgEmbed___closed__2 = _init_l_Lean_Widget_instInhabitedMsgEmbed___closed__2();
lean_mark_persistent(l_Lean_Widget_instInhabitedMsgEmbed___closed__2);
l_Lean_Widget_instInhabitedMsgEmbed___closed__3 = _init_l_Lean_Widget_instInhabitedMsgEmbed___closed__3();
lean_mark_persistent(l_Lean_Widget_instInhabitedMsgEmbed___closed__3);
l_Lean_Widget_instInhabitedMsgEmbed = _init_l_Lean_Widget_instInhabitedMsgEmbed();
lean_mark_persistent(l_Lean_Widget_instInhabitedMsgEmbed);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__1 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__1();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__1);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__2 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__2();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__2);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__3 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__3();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__3);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__4 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__4();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__4);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__5 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__5();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__5);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__6 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__6();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__6);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__7 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__7();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__7);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__8 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__8();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__8);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__9 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__9();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__9);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__10 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__10();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__10);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__11 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__11();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__11);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__12 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__12();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__12);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__13 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__13();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__13);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__14 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__14();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__14);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__15 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__15();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__15);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__16 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__16();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__16);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__17 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__17();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__17);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__18 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__18();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__1___closed__18);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__1 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__1();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__1);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__2 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__2();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__2);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__3 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__3();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__3);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__4 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__4();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__4);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__5 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__5();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__5);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__6 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__6();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__6);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__7 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__7();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__7);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__8 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__8();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__8);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__9 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__9();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__2___closed__9);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__3___closed__1 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__3___closed__1();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____lambda__3___closed__1);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____closed__1 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____closed__1();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Widget_MsgEmbed_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_761____closed__1);
l_Lean_Widget_Lean_Widget_MsgEmbed_instFromJsonRpcEncodablePacket___closed__1 = _init_l_Lean_Widget_Lean_Widget_MsgEmbed_instFromJsonRpcEncodablePacket___closed__1();
lean_mark_persistent(l_Lean_Widget_Lean_Widget_MsgEmbed_instFromJsonRpcEncodablePacket___closed__1);
l_Lean_Widget_Lean_Widget_MsgEmbed_instFromJsonRpcEncodablePacket = _init_l_Lean_Widget_Lean_Widget_MsgEmbed_instFromJsonRpcEncodablePacket();
lean_mark_persistent(l_Lean_Widget_Lean_Widget_MsgEmbed_instFromJsonRpcEncodablePacket);
l_Lean_Widget_Lean_Widget_MsgEmbed_instToJsonRpcEncodablePacket___closed__1 = _init_l_Lean_Widget_Lean_Widget_MsgEmbed_instToJsonRpcEncodablePacket___closed__1();
lean_mark_persistent(l_Lean_Widget_Lean_Widget_MsgEmbed_instToJsonRpcEncodablePacket___closed__1);
l_Lean_Widget_Lean_Widget_MsgEmbed_instToJsonRpcEncodablePacket = _init_l_Lean_Widget_Lean_Widget_MsgEmbed_instToJsonRpcEncodablePacket();
lean_mark_persistent(l_Lean_Widget_Lean_Widget_MsgEmbed_instToJsonRpcEncodablePacket);
l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1();
lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1);
l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____closed__1 = _init_l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____closed__1();
lean_mark_persistent(l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____closed__1);
l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__5___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__5___closed__1();
lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__5___closed__1);
l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1 = _init_l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1();
lean_mark_persistent(l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__1);
l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2 = _init_l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2();
lean_mark_persistent(l_Lean_Widget_Lean_Widget_StrictOrLazy_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____spec__4___closed__2);
l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____closed__1 = _init_l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____closed__1();
lean_mark_persistent(l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____closed__1);
l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____closed__2 = _init_l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____closed__2();
lean_mark_persistent(l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____closed__2);
l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____closed__3 = _init_l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____closed__3();
lean_mark_persistent(l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____closed__3);
l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____closed__4 = _init_l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____closed__4();
lean_mark_persistent(l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_563____closed__4);
l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed___closed__1 = _init_l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed___closed__1();
lean_mark_persistent(l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed___closed__1);
l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed = _init_l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed();
lean_mark_persistent(l_Lean_Widget_Lean_Widget_MsgEmbed_instRpcEncodableMsgEmbed);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__1 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__1();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__1);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__2 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__2();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__2);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__3 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__3();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__3);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__4 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__4();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__4);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__5 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__5();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__5);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__6 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__6();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__6);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__7 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__7();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__7);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__8 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__8();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__8);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__9 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__9();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__9);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__10 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__10();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__10);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__11 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__11();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__11);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__12 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__12();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__12);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__13 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__13();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__13);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__14 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__14();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__14);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__15 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__15();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__15);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__16 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__16();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__16);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__17 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__17();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__17);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__18 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__18();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__18);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__19 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__19();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__19);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__20 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__20();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__20);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__21 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__21();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__21);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__22 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__22();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__22);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__23 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__23();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__23);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__24 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__24();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__24);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__25 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__25();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__25);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__26 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__26();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__26);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__27 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__27();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__27);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__28 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__28();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__28);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__29 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__29();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__29);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__30 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__30();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__30);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__31 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__31();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__31);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__32 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__32();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__32);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__33 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__33();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__33);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__34 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__34();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__34);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__35 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__35();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__35);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__36 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__36();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__36);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__37 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__37();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__37);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__38 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__38();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__38);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__39 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__39();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__39);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__40 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__40();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__40);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__41 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__41();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__41);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__42 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__42();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__42);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__43 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__43();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__43);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__44 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__44();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__44);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__45 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__45();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__45);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__46 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__46();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__46);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__47 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__47();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__47);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__48 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__48();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__48);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__49 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__49();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__49);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__50 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__50();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__50);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__51 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__51();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__51);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__52 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__52();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__52);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__53 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__53();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__53);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__54 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__54();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__54);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__55 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__55();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__55);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__56 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__56();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__56);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__57 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__57();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__57);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__58 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__58();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__58);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__59 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__59();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__59);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__60 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__60();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__60);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__61 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__61();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__61);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__62 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__62();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__62);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__63 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__63();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__63);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__64 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__64();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__64);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__65 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__65();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__65);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__66 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__66();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__66);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__67 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__67();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__67);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__68 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__68();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__68);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__69 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__69();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__69);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__70 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__70();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__70);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__71 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__71();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__71);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__72 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__72();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__72);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__73 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__73();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__73);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__74 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__74();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_Lean_Lsp_DiagnosticWith_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1924____closed__74);
l_Lean_Widget_Lean_Lsp_DiagnosticWith_instFromJsonRpcEncodablePacket___closed__1 = _init_l_Lean_Widget_Lean_Lsp_DiagnosticWith_instFromJsonRpcEncodablePacket___closed__1();
lean_mark_persistent(l_Lean_Widget_Lean_Lsp_DiagnosticWith_instFromJsonRpcEncodablePacket___closed__1);
l_Lean_Widget_Lean_Lsp_DiagnosticWith_instFromJsonRpcEncodablePacket = _init_l_Lean_Widget_Lean_Lsp_DiagnosticWith_instFromJsonRpcEncodablePacket();
lean_mark_persistent(l_Lean_Widget_Lean_Lsp_DiagnosticWith_instFromJsonRpcEncodablePacket);
l_Lean_Widget_Lean_Lsp_DiagnosticWith_instToJsonRpcEncodablePacket___closed__1 = _init_l_Lean_Widget_Lean_Lsp_DiagnosticWith_instToJsonRpcEncodablePacket___closed__1();
lean_mark_persistent(l_Lean_Widget_Lean_Lsp_DiagnosticWith_instToJsonRpcEncodablePacket___closed__1);
l_Lean_Widget_Lean_Lsp_DiagnosticWith_instToJsonRpcEncodablePacket = _init_l_Lean_Widget_Lean_Lsp_DiagnosticWith_instToJsonRpcEncodablePacket();
lean_mark_persistent(l_Lean_Widget_Lean_Lsp_DiagnosticWith_instToJsonRpcEncodablePacket);
l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2___closed__1();
lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2___closed__1);
l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2___closed__2 = _init_l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2___closed__2();
lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2___closed__2);
l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2___closed__3 = _init_l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2___closed__3();
lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2___closed__3);
l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2___closed__4 = _init_l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2___closed__4();
lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__2___closed__4);
l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__1 = _init_l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__1();
lean_mark_persistent(l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__1);
l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__2 = _init_l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__2();
lean_mark_persistent(l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__2);
l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__3 = _init_l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__3();
lean_mark_persistent(l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__3);
l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__4 = _init_l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__4();
lean_mark_persistent(l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__4);
l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__5 = _init_l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__5();
lean_mark_persistent(l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__5);
l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__6 = _init_l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__6();
lean_mark_persistent(l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__6);
l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__7 = _init_l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__7();
lean_mark_persistent(l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__7);
l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__8 = _init_l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__8();
lean_mark_persistent(l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__8);
l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__4___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__4___closed__1();
lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__4___closed__1);
l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__4___closed__2 = _init_l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__4___closed__2();
lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__4___closed__2);
l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__4___closed__3 = _init_l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__4___closed__3();
lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__4___closed__3);
l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__4___closed__4 = _init_l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__4___closed__4();
lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____spec__4___closed__4);
l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__1 = _init_l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__1();
lean_mark_persistent(l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__1);
l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__2 = _init_l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__2();
lean_mark_persistent(l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__2);
l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__3 = _init_l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__3();
lean_mark_persistent(l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__3);
l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__4 = _init_l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__4();
lean_mark_persistent(l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__4);
l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__5 = _init_l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__5();
lean_mark_persistent(l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__5);
l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__6 = _init_l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__6();
lean_mark_persistent(l_Lean_Widget_Lean_Lsp_DiagnosticWith_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1838____rarg___closed__6);
l_Lean_Widget_InteractiveDiagnostic_toDiagnostic_prettyTt___lambda__1___closed__1 = _init_l_Lean_Widget_InteractiveDiagnostic_toDiagnostic_prettyTt___lambda__1___closed__1();
lean_mark_persistent(l_Lean_Widget_InteractiveDiagnostic_toDiagnostic_prettyTt___lambda__1___closed__1);
l_Lean_Widget_InteractiveDiagnostic_toDiagnostic_prettyTt___lambda__1___closed__2 = _init_l_Lean_Widget_InteractiveDiagnostic_toDiagnostic_prettyTt___lambda__1___closed__2();
lean_mark_persistent(l_Lean_Widget_InteractiveDiagnostic_toDiagnostic_prettyTt___lambda__1___closed__2);
l_Lean_Widget_InteractiveDiagnostic_toDiagnostic_prettyTt___closed__1 = _init_l_Lean_Widget_InteractiveDiagnostic_toDiagnostic_prettyTt___closed__1();
lean_mark_persistent(l_Lean_Widget_InteractiveDiagnostic_toDiagnostic_prettyTt___closed__1);
l_Lean_Widget_instInhabitedEmbedFmt___closed__1 = _init_l_Lean_Widget_instInhabitedEmbedFmt___closed__1();
lean_mark_persistent(l_Lean_Widget_instInhabitedEmbedFmt___closed__1);
l_Lean_Widget_instInhabitedEmbedFmt___closed__2 = _init_l_Lean_Widget_instInhabitedEmbedFmt___closed__2();
lean_mark_persistent(l_Lean_Widget_instInhabitedEmbedFmt___closed__2);
l_Lean_Widget_instInhabitedEmbedFmt___closed__3 = _init_l_Lean_Widget_instInhabitedEmbedFmt___closed__3();
lean_mark_persistent(l_Lean_Widget_instInhabitedEmbedFmt___closed__3);
l_Lean_Widget_instInhabitedEmbedFmt = _init_l_Lean_Widget_instInhabitedEmbedFmt();
lean_mark_persistent(l_Lean_Widget_instInhabitedEmbedFmt);
l_Lean_Widget_initFn____x40_Lean_Widget_InteractiveDiagnostic___hyg_3321____closed__1 = _init_l_Lean_Widget_initFn____x40_Lean_Widget_InteractiveDiagnostic___hyg_3321____closed__1();
lean_mark_persistent(l_Lean_Widget_initFn____x40_Lean_Widget_InteractiveDiagnostic___hyg_3321____closed__1);
l_Lean_Widget_initFn____x40_Lean_Widget_InteractiveDiagnostic___hyg_3321____closed__2 = _init_l_Lean_Widget_initFn____x40_Lean_Widget_InteractiveDiagnostic___hyg_3321____closed__2();
lean_mark_persistent(l_Lean_Widget_initFn____x40_Lean_Widget_InteractiveDiagnostic___hyg_3321____closed__2);
l_Lean_Widget_initFn____x40_Lean_Widget_InteractiveDiagnostic___hyg_3321____closed__3 = _init_l_Lean_Widget_initFn____x40_Lean_Widget_InteractiveDiagnostic___hyg_3321____closed__3();
lean_mark_persistent(l_Lean_Widget_initFn____x40_Lean_Widget_InteractiveDiagnostic___hyg_3321____closed__3);
l_Lean_Widget_initFn____x40_Lean_Widget_InteractiveDiagnostic___hyg_3321____closed__4 = _init_l_Lean_Widget_initFn____x40_Lean_Widget_InteractiveDiagnostic___hyg_3321____closed__4();
lean_mark_persistent(l_Lean_Widget_initFn____x40_Lean_Widget_InteractiveDiagnostic___hyg_3321____closed__4);
l_Lean_Widget_initFn____x40_Lean_Widget_InteractiveDiagnostic___hyg_3321____closed__5 = _init_l_Lean_Widget_initFn____x40_Lean_Widget_InteractiveDiagnostic___hyg_3321____closed__5();
lean_mark_persistent(l_Lean_Widget_initFn____x40_Lean_Widget_InteractiveDiagnostic___hyg_3321____closed__5);
l_Lean_Widget_initFn____x40_Lean_Widget_InteractiveDiagnostic___hyg_3321____closed__6 = _init_l_Lean_Widget_initFn____x40_Lean_Widget_InteractiveDiagnostic___hyg_3321____closed__6();
lean_mark_persistent(l_Lean_Widget_initFn____x40_Lean_Widget_InteractiveDiagnostic___hyg_3321____closed__6);
res = l_Lean_Widget_initFn____x40_Lean_Widget_InteractiveDiagnostic___hyg_3321_(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
l_Lean_Widget_infoview_maxTraceChildren = lean_io_result_get_value(res);
lean_mark_persistent(l_Lean_Widget_infoview_maxTraceChildren);
lean_dec_ref(res);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_mkContextInfo___closed__1 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_mkContextInfo___closed__1();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_mkContextInfo___closed__1);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_mkContextInfo___closed__2 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_mkContextInfo___closed__2();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_mkContextInfo___closed__2);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_mkContextInfo___closed__3 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_mkContextInfo___closed__3();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_mkContextInfo___closed__3);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_mkContextInfo___closed__4 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_mkContextInfo___closed__4();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_mkContextInfo___closed__4);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_chopUpChildren___closed__1 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_chopUpChildren___closed__1();
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_chopUpChildren___closed__2 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_chopUpChildren___closed__2();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_chopUpChildren___closed__2);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_chopUpChildren___closed__3 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_chopUpChildren___closed__3();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_chopUpChildren___closed__3);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_chopUpChildren___closed__4 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_chopUpChildren___closed__4();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_chopUpChildren___closed__4);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___lambda__3___closed__1 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___lambda__3___closed__1();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___lambda__3___closed__1);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__1 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__1();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__1);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__2 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__2();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__2);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__3 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__3();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__3);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__4 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__4();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__4);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__5 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__5();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__5);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__6 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__6();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__6);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__7 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__7();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__7);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__8 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__8();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__8);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__9 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__9();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__9);
l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux___closed__1 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux___closed__1();
lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux___closed__1);
l_Lean_Widget_msgToInteractive___closed__1 = _init_l_Lean_Widget_msgToInteractive___closed__1();
lean_mark_persistent(l_Lean_Widget_msgToInteractive___closed__1);
l_Lean_Widget_msgToInteractiveDiagnostic___closed__1 = _init_l_Lean_Widget_msgToInteractiveDiagnostic___closed__1();
lean_mark_persistent(l_Lean_Widget_msgToInteractiveDiagnostic___closed__1);
l_Lean_Widget_msgToInteractiveDiagnostic___closed__2 = _init_l_Lean_Widget_msgToInteractiveDiagnostic___closed__2();
lean_mark_persistent(l_Lean_Widget_msgToInteractiveDiagnostic___closed__2);
l_Lean_Widget_msgToInteractiveDiagnostic___closed__3 = _init_l_Lean_Widget_msgToInteractiveDiagnostic___closed__3();
lean_mark_persistent(l_Lean_Widget_msgToInteractiveDiagnostic___closed__3);
l_Lean_Widget_msgToInteractiveDiagnostic___closed__4 = _init_l_Lean_Widget_msgToInteractiveDiagnostic___closed__4();
lean_mark_persistent(l_Lean_Widget_msgToInteractiveDiagnostic___closed__4);
l_Lean_Widget_msgToInteractiveDiagnostic___closed__5 = _init_l_Lean_Widget_msgToInteractiveDiagnostic___closed__5();
lean_mark_persistent(l_Lean_Widget_msgToInteractiveDiagnostic___closed__5);
l_Lean_Widget_msgToInteractiveDiagnostic___closed__6 = _init_l_Lean_Widget_msgToInteractiveDiagnostic___closed__6();
lean_mark_persistent(l_Lean_Widget_msgToInteractiveDiagnostic___closed__6);
l_Lean_Widget_msgToInteractiveDiagnostic___closed__7 = _init_l_Lean_Widget_msgToInteractiveDiagnostic___closed__7();
lean_mark_persistent(l_Lean_Widget_msgToInteractiveDiagnostic___closed__7);
l_Lean_Widget_msgToInteractiveDiagnostic___closed__8 = _init_l_Lean_Widget_msgToInteractiveDiagnostic___closed__8();
lean_mark_persistent(l_Lean_Widget_msgToInteractiveDiagnostic___closed__8);
l_Lean_Widget_msgToInteractiveDiagnostic___closed__9 = _init_l_Lean_Widget_msgToInteractiveDiagnostic___closed__9();
lean_mark_persistent(l_Lean_Widget_msgToInteractiveDiagnostic___closed__9);
l_Lean_Widget_msgToInteractiveDiagnostic___closed__10 = _init_l_Lean_Widget_msgToInteractiveDiagnostic___closed__10();
lean_mark_persistent(l_Lean_Widget_msgToInteractiveDiagnostic___closed__10);
l_Lean_Widget_msgToInteractiveDiagnostic___closed__11 = _init_l_Lean_Widget_msgToInteractiveDiagnostic___closed__11();
lean_mark_persistent(l_Lean_Widget_msgToInteractiveDiagnostic___closed__11);
return lean_io_result_mk_ok(lean_box(0));
}
#ifdef __cplusplus
}
#endif
